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: Change the version number from the CMD line
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
‎May 31, 2012
10:17 AM
Change the version number from the CMD line
I have a Basic MSI install I'm working with. The version in the project is 5.00.000 right now. We run an automated build everynight and this gets a build number. When we were using installshield 2010 and installscript we had a function in our automated build that would change the last section of the version number to match our build number, example 5.00.011, 5.00.012 and so on.
I have tried to open the ISM file and change this manually but when I do it does someting to the file that makes it no longer work in installshield.
So is there a way to change this version number from a batch file or command line before building?
I have tried to open the ISM file and change this manually but when I do it does someting to the file that makes it no longer work in installshield.
So is there a way to change this version number from a batch file or command line before building?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 31, 2012
01:03 PM
I have a several builds that do this. The build opens the ism file and scans for the old version number. When its found, its replaced with the new number and saved.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2012
01:24 AM
If you have not, please refer to ISCmdBld.exe.