
vikrant.gunnasriniva1.552494446331136E12 asked a question.
Installscript project-set product version at build time using InstallShield task
Is it possible to update the product version in an installscript project at build time? I have tried the following:
1. Setting the InstallShieldProductVersion property in the .isproj file did not work.
2. Setting the ProductVersion property in InstallShieldPropertyOverrides property group in the .isproj file did not work.
3. Setting the ProductVersion to a path variable () via Project Settings->Application tab and assigning a value to the path variable in InstallShieldPathVariableOverrides did not work. I received the following error:
C:\Program Files (x86)\MSBuild\InstallShield\2011\InstallShield.targets(79,3): error : PathVariable "PRODUCT_VERSION" path "0.0.1.0" does not exist.
Appreciate any help.
I ended up calling the installshield command line builder (IsCmdBld.exe) directly in my MSBuild project using an Exec task. For more info about providing product version to IsCmdBld.exe, look at this thread .