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
- :
- InstallScript Project -Setting product version on command line with Stand Alone build
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
‎Jul 25, 2011
02:37 PM
InstallScript Project -Setting product version on command line with Stand Alone build
The documentation indicates that this is not possible with an InstallScript project. I find hard to believe it would be omitted, but in any case, does anybody know of a work around for this? We have a desire/need to automate our product build, including the installer build, so need to be able to set product version on the command line.
Thanks in advance,
J
Thanks in advance,
J
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 26, 2011
12:04 PM
You should be able to do this using a somewhat undocumented feature of the InstallScript build. In the Path Variables view, create a new path variable and set it to whatever base version you want the product version to be. Then, in the General Information view, set the product version to . When the project is built, the InstallScript build will resolve the path variable as a build time text substitution for the product version and replace the product version path variable reference with the value of the path variable.
The command build will allow for overriding path variable values. So if you have PATH_VARIABLE_NAME set to 1.00.0000 in the project, the following command line can be used to change that value at build time:
iscmdbld.exe -p "Project.ism" -r "Release Name" -l PATH_VARIABLE_NAME=2.00.0000
The command build will allow for overriding path variable values. So if you have PATH_VARIABLE_NAME set to 1.00.0000 in the project, the following command line can be used to change that value at build time:
iscmdbld.exe -p "Project.ism" -r "Release Name" -l PATH_VARIABLE_NAME=2.00.0000
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 08, 2013
03:09 AM
"Then, in the General Information view, set the product version to "
It can not realize!
Error message will pop up:
"Invalid version entered. The version number must contain only numbers and must be in the format: aaa.bbb.ccccc"
It can not realize!
Error message will pop up:
"Invalid version entered. The version number must contain only numbers and must be in the format: aaa.bbb.ccccc"