I could easily set the product version via command line. ie...
Code: Select all
"C:\\Program\ Files\ (x86)\\InstallShield\\2014\\System\\IsCmdBld.exe" /? | grep version
-y <Product Version> version number in the format xx.xx.xxxxx
Now I can sortof simulate this behavior with InstallAware by setting the
"Product Version" field to ie. "#MYVERSION#" (which the IDE allows but
complains about) and then setting the MYVERSION variable via the
command line. ie....
Code: Select all
"C:\\Program Files (x86)\\InstallAware X3\\miabuild.exe" "D:\\MyApp\\installer\\MyApp.mpr" /o "D:\\MyApp\\installer\\MyApp\\Release" /b1 /r MYVERSION=3.9.96
This does work. But has one serious downside -- builds created using the IDE
do not get a value for the MYVERSION variable set. Which looks odd.
What I think would be better, and which I expect would require very
little work.
I would like to be able to set the "Product Version" field in the project
to something like "1.0.0", so builds from the IDE are not broken.
And I would like to have an InstallAware command line option, similar
to the current InstallShield "-y" option allowing me to override the
value for the "Product Version" field saved in the project via the
command line. Best to give it a sensible option name i.e.
Code: Select all
"C:\\Program Files (x86)\\InstallAware X3\\miabuild.exe" /? | grep Override
/o Override default output folder
/b Override default build type
/v Override default Product Version
Seem reasonable?