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
- :
- How to autoincrement ProductVersion?
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
May 31, 2010
08:47 AM
How to autoincrement ProductVersion?
Hi,
I want InstallShield to increment the ProductVersion by 1 (i.e. change from 1.00.0000 to 1.00.0001) and also autogenerate a new GUID for ProductVersion everytime I build the InstallShield project.
Is it possible?
Or should I convert the InstallShield project type from binary to XML and make the necessary modifications on the XML file?
-Best regards.
I want InstallShield to increment the ProductVersion by 1 (i.e. change from 1.00.0000 to 1.00.0001) and also autogenerate a new GUID for ProductVersion everytime I build the InstallShield project.
Is it possible?
Or should I convert the InstallShield project type from binary to XML and make the necessary modifications on the XML file?
-Best regards.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 31, 2010
08:48 PM
For source control reasons, I'd use XML format regardless. The other questions depend on how you go about doing your build automation. If you are calling IsCmdBld then you can use the -y and -z swithes to pass in the ProductVersion and PoductCode properties. You can also using the automation interface to generate a guid and update the project that way.