command-linecommand-line-argumentsinstallshieldinstallshield-2012

Rename the Single .exe file name parameter using command line IsCmdBld.exe Installshield


How do I specify the name for the executable using the command-line version of Installshield. I'm looking for the command line switch

I need to create a package based on the version I pass.

For ex : If I pass - 2.2.0,

SET RELEASE_VERSION="2.2.0"
ISCmdBld.exe -p "\Path\BuildProject.ism" -y %RELEASE_VERSION% -? MY_COOL_APP_%RELEASE_VERSION%.EXE

I need to know the switch (indicated as ? here) which will create MY_COOL_APP_2.2.0.exe after building and running the command line InstallShield build tool.

I tried using the values from the path variables at build time ISCmdBld.exe -p "\Path\BuildProject.ism" -y %RELEASE_VERSION% -l MYPathVar="MY_COOL_APP_%RELEASE_VERSION%"

I have associated the value of the path variable for the single .exe file in the Project-->Settings-->Application tab but still the build gives me the default setup.exe

Much appreciate your inputs


Solution

  • There is no parameter for IsCmdBld.exe that directly changes the name of the resulting setup.exe file. For a couple predetermined names you could make multiple release configurations and select them (with -r, or product configurations via -a), but for your case that is unlikely to scale. Instead you should consider one of the following: