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
- :
- Can Product Version be programatically updated?
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
‎Aug 07, 2013
07:21 PM
Can Product Version be programatically updated?
I am using Visual Studio 2012 to build multiple versions of my product (x86/x64, debug/release) and I also build 4 Install releases.
VS creates a for four digit version for each version, e.g. 4.3.4967.20444. The 3rd/4th can be decoded to the date/time the VS build was done.
InstallShield allows a 3 digit Product Version.
Is there a way I can programatically have the IS version updated to match the first 3 digits of the VS version whenever I do a "total rebuild in Visual Studio" that rebuilds all VS and IS projects?
VS creates a for four digit version for each version, e.g. 4.3.4967.20444. The 3rd/4th can be decoded to the date/time the VS build was done.
InstallShield allows a 3 digit Product Version.
Is there a way I can programatically have the IS version updated to match the first 3 digits of the VS version whenever I do a "total rebuild in Visual Studio" that rebuilds all VS and IS projects?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 08, 2013
08:49 AM
Yes. Pass the version to the -y option. e.g. IsCmdBld.exe -y 1.2.3 ...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 08, 2013
12:52 PM
Thanks for the pointer to iscmdbld..
My VS project creates four output folders for my code
bin/x64/release
bin/x64/debug
bin/x86/release
bin/x86/debug
and my two IS Basic MSI projects Setup64 and Setup86 each have two releases under the Releases | Default Configuration
Release
Debug
My VS config manger does four builds for IS
Project Configuration
Setup64 Release
Setup64 Debug
Setup86 Release
Setup86 Debug
I assume I have to invoke IsCmdBld four times. What combination of -a and -r values do I need to use to get the same results as doing the IS project builds within VS?
Within VS the IS projects bascially create an MSI using all the contents of the bin folder.
Using ISCMDBLD it does not appear that the contents of the bin folders are getting into the msi.
How do I emulate the VS build process using iscmdbld?
My VS project creates four output folders for my code
bin/x64/release
bin/x64/debug
bin/x86/release
bin/x86/debug
and my two IS Basic MSI projects Setup64 and Setup86 each have two releases under the Releases | Default Configuration
Release
Debug
My VS config manger does four builds for IS
Project Configuration
Setup64 Release
Setup64 Debug
Setup86 Release
Setup86 Debug
I assume I have to invoke IsCmdBld four times. What combination of -a and -r values do I need to use to get the same results as doing the IS project builds within VS?
Within VS the IS projects bascially create an MSI using all the contents of the bin folder.
Using ISCMDBLD it does not appear that the contents of the bin folders are getting into the msi.
How do I emulate the VS build process using iscmdbld?