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
- :
- Re: How to get ProductVersion+UpgradeCode in an Installscript Project
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
‎Mar 06, 2009
06:41 AM
How to get ProductVersion+UpgradeCode in an Installscript Project
How can I retrieve the ProductVersion en de UpgradeCode in an installscript programmatically. I would like to use them so they can be written to the Registry.
In a basic MSI installation it was no problem?
I am using the TextSubSetValue for some other information i needed which works nicely with the registry values.
Anyone got some nice tips for me?
In a basic MSI installation it was no problem?
I am using the TextSubSetValue for some other information i needed which works nicely with the registry values.
TextSubSetValue("", PRODUCT_GUID , FALSE );
TextSubSetValue("", ISUS_TEXTSUB_VERSION , FALSE );
Anyone got some nice tips for me?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 06, 2009
12:18 PM
In an InstallScript project, there is a Product GUID (PRODUCT_GUID) and a Product Version (IFX_PRODUCT_VERSION), but no Upgrade Code. Upgrade Codes only apply to MSI installers.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 09, 2009
04:05 AM
Wow I didn't even know there was no upgradecode in a pure installscript project. Thanks for your reply
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)