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
- :
- Re: Auto change version # in VS 2008
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, 2008
06:11 PM
Auto change version # in VS 2008
How can I get my install project that is loaded as part of my solution in VS 2008 to automatically set the version number to that of the exe everytime I build ?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2008
07:17 PM
Via Automation Interface you should be able to manipulate ProductVersion property. Check out http://helpnet.acresso.com/robo/projects/helplibdevstudio9/IHelpAutoISWiProject.htm
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2008
08:59 PM
Actually since your using Visual Studio integration, the ISPROJ file ( msbuild document ) supports a property called $(InstallShieldProductVersion) that will take care of all this for you without having to write custom plumbing for calling the automation interface or passing a -y argument to the standalone build.
Personally, I use TFS TeamBuild so I define the properties $(Major) $(Minor) $(Build) and $(Revision) and pass them into a custom BuildNumberOverride task and AssemblyInfo task aswell as mapping it into the ISPROJ as described above. This works very nicely.
Personally, I use TFS TeamBuild so I define the properties $(Major) $(Minor) $(Build) and $(Revision) and pass them into a custom BuildNumberOverride task and AssemblyInfo task aswell as mapping it into the ISPROJ as described above. This works very nicely.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2008
01:10 AM
Can you be a little more specific please (I'm not using TFS)
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)