This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Adding files to the installer in VS adds the File Path Variable to the wrong project
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 09, 2010
08:33 AM
Adding files to the installer in VS adds the File Path Variable to the wrong project
Hi,
I have the InstallShield 2011 Pemier and I have created an installer solution in Visual Studio 2010.
This solution has three InstallScript MSI Projects...one for each of our products.
I created the 3 projects in the solutioon 1st before going back and configuring them.
When adding the files to the installer the Path Variable was added to the last installer project in the solution...regardless of what installer project had the files added to.
When building this meant the source files couldn't be found.
The fix was to copy the required Path Variables, located in the Media/PathVariables window, from the last project in the solution to the correct installer projects Path Variables. The unrequired Path Variables in the last project in the solution were then deleted.
All builds ok now.
Is this a known "bug" and is there a fix for it?
cheers,
Woka
I have the InstallShield 2011 Pemier and I have created an installer solution in Visual Studio 2010.
This solution has three InstallScript MSI Projects...one for each of our products.
I created the 3 projects in the solutioon 1st before going back and configuring them.
When adding the files to the installer the Path Variable was added to the last installer project in the solution...regardless of what installer project had the files added to.
When building this meant the source files couldn't be found.
The fix was to copy the required Path Variables, located in the Media/PathVariables window, from the last project in the solution to the correct installer projects Path Variables. The unrequired Path Variables in the last project in the solution were then deleted.
All builds ok now.
Is this a known "bug" and is there a fix for it?
cheers,
Woka
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 21, 2013
10:01 PM
Wokawidget wrote:
Hi,
I have the InstallShield 2011 Pemier and I have created an installer solution in Visual Studio 2010.
This solution has three InstallScript MSI Projects...one for each of our products.
I created the 3 projects in the solutioon 1st before going back and configuring them.
When adding the files to the installer the Path Variable was added to the last installer project in the solution...regardless of what installer project had the files added to.
When building this meant the source files couldn't be found.
The fix was to copy the required Path Variables, located in the Media/PathVariables window, from the last project in the solution to the correct installer projects Path Variables. The unrequired Path Variables in the last project in the solution were then deleted.
All builds ok now.
Is this a known "bug" and is there a fix for it?
cheers,
Woka
This is easily reproduced in Spring 2012 as is a real pain. In my situation adding files from the IS projects own folder ended up creating a path variable that wasnt in the project and showing the files with 0 bytes etc and failing to build. On finiding this article i saw that the path variables were created in a different IS project i nthe same solution.
What is the status of a fix for this?
Cheers,
Norm.