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
- :
- VSSolutionFolder incorrect after switching between Visual Studio solutions
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
‎Oct 22, 2014
02:35 AM
VSSolutionFolder incorrect after switching between Visual Studio solutions
Using Visual Studio 2013 and InstallShield 2013 LE.
This occurs when there are multiple Visual Studio solutions, all using InstallShield.
First one opens one of the solutions and checks the file dates in 'Specify Application Data'/'Files'. Initially they appear correct.
Then one opens another solution, without restarting Visual Studio. Again check the file dates, especially the ones using 'VSSolutionFolder'. They show the file dates of the other solution! The two solutions are very similar (different branches of the same software, so all files exist in both solutions). Also when I make an installation with the second solution, InstallShield uses the files of the other solution! The installation file appear correct at first, and the software can be installed, but they contain the wrong file versions!
Is this a bug in InstallShield? It appears that 'VSSolutionFolder' should be set correctly by InstallShield when switching between solutions.
Nils
This occurs when there are multiple Visual Studio solutions, all using InstallShield.
First one opens one of the solutions and checks the file dates in 'Specify Application Data'/'Files'. Initially they appear correct.
Then one opens another solution, without restarting Visual Studio. Again check the file dates, especially the ones using 'VSSolutionFolder'. They show the file dates of the other solution! The two solutions are very similar (different branches of the same software, so all files exist in both solutions). Also when I make an installation with the second solution, InstallShield uses the files of the other solution! The installation file appear correct at first, and the software can be installed, but they contain the wrong file versions!
Is this a bug in InstallShield? It appears that 'VSSolutionFolder' should be set correctly by InstallShield when switching between solutions.
Nils
- Tags:
- vssolutionfolder
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2014
11:27 AM
Hello ngrstad,
The path variable should stored in separate project files.
Were both solutions using project files split from the same project? If they were how did you redirect where the new source files are?
The path variable should stored in separate project files.
Were both solutions using project files split from the same project? If they were how did you redirect where the new source files are?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 31, 2014
05:37 AM
The two solutions are in two separate directories. Each solution has its own project, so nothing is shared. I switch from one solution to the other in Visual Studio (without restarting Visual Studio). The two solutions are very similar, because they are two branches of the same software. The problem is that I end up with the wrong files inside the installation file after using InstallShield. It works OK if I restart Visual Studio after switching from one solution to the other, but not if I switch solutions without restarting Visual Studio.Then 'VSSolutionFolder' seems to be pointing to the wrong solution and the installation file contains the wrong files.
Nils
Nils