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
- :
- HKEY_CLASSES_ROOT\Installer\Products\GUID
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 13, 2009
08:04 AM
Retriving the version of the previous install
ProductVersion propert has the version info or the current installation. If we are doing an (major) upgrade, is the previous installations version kept in a property that we can retrieve?
The reason I need this is that a user wants to see from what version to what version they are upgrading in the dilalogs.
The reason I need this is that a user wants to see from what version to what version they are upgrading in the dilalogs.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2009
09:00 AM
I don't think the older version numbers are stored in properties in the newer version. After FindRelatedProducts runs, the "action property" from the Upgrade table lists the product codes it will upgrade, and you can pass the product codes to MsiGetProductInfo or Installer.ProductInfo to get their versions and other information...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 14, 2009
09:48 AM
My question is somewhat related...
I have ProductA installed and ProductB requires a specific version of ProductA to be installed prior to installing ProductB. I only want to perform an install condition check, I do not want to have ProductA included with ProductB as a prerequisite/redistributable.
I have accomplished this by querying the registry via System Search feature by looking at the Version value in HKEY_CLASSES_ROOT\Installer\Products\GUID - where the GUID maps to ProductA - and then storing it in a property which is then used as an install condition for ProductB.
This works great as the GUID does not change for ProductA (or at least not while for all minor version upgrades where product code doesn't change). Where does the GUID come from? It doesn't appear to be the product code, upgrade code, or package code of ProductA.
I have ProductA installed and ProductB requires a specific version of ProductA to be installed prior to installing ProductB. I only want to perform an install condition check, I do not want to have ProductA included with ProductB as a prerequisite/redistributable.
I have accomplished this by querying the registry via System Search feature by looking at the Version value in HKEY_CLASSES_ROOT\Installer\Products\GUID - where the GUID maps to ProductA - and then storing it in a property which is then used as an install condition for ProductB.
This works great as the GUID does not change for ProductA (or at least not while for all minor version upgrades where product code doesn't change). Where does the GUID come from? It doesn't appear to be the product code, upgrade code, or package code of ProductA.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 14, 2009
10:24 AM
That registry data is undocumented, so you might consider using a different type of search or the APIs instead; but for information about how those codes are generated, please see for example KB article Q105971.