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-set product version at build time using InstallShield task
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
Aug 18, 2011
02:16 PM
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.
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 (
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 24, 2011
02:08 PM
Work-around:
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.
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.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)