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: List of property names
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
‎Oct 23, 2008
03:35 AM
List of property names
Hi
You can use eg. IS_MAJOR_UPGRADE to check if an upgrade is a major upgrade. Where can I find a list showing all property names. I need to find out whether it is a first time installation, a major upgrade or a minor upgrade.
You can use eg. IS_MAJOR_UPGRADE to check if an upgrade is a major upgrade. Where can I find a list showing all property names. I need to find out whether it is a first time installation, a major upgrade or a minor upgrade.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 23, 2008
04:04 PM
The Windows Installer help library lists predefined properties, and the InstallShield help lists some InstallShield-specific ones.
For the cases you described Not Installed detects a first-time installation, and the "action property" (usually ISACTIONPROP1 or the like) from the Upgrade table can be used as a condition to detect a major upgrade. (The older, installed product in a major-upgrade relationship can use UPGRADINGPRODUCTCODE to see why it's being removed, but that's another story.)
A minor upgrade condition is a bit trickier; perhaps look at the condition on the SetupResume dialog box in the UI sequence.
For the cases you described Not Installed detects a first-time installation, and the "action property" (usually ISACTIONPROP1 or the like) from the Upgrade table can be used as a condition to detect a major upgrade. (The older, installed product in a major-upgrade relationship can use UPGRADINGPRODUCTCODE to see why it's being removed, but that's another story.)
A minor upgrade condition is a bit trickier; perhaps look at the condition on the SetupResume dialog box in the UI sequence.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 23, 2008
06:04 PM
RobertDickau wrote:
A minor upgrade condition is a bit trickier; perhaps look at the condition on
the SetupResume dialog box in the UI sequence.
If he happens to send out all minor upgrades like I do (as MSP patch files), then he could use the PATCH property.
I also use, and thought they were installshield specific (but maybe they are MSI specific)
Not Installed - First time install
IS_MAJOR_UPGRADE - Major upgrade
and I think there is IS_MINOR_UPGRADE as well, but like I said I use PATCH for all those.
I have a lot of CA's whose condition is:
SOMETHING_I_SET and (PATCH or IS_MINOR_UPGRADE or (Not Installed))
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 23, 2008
06:13 PM
Quite right, PATCH detects an update packaged as a patch. IS_MAJOR_UPGRADE is set by ISSetAllUsers, I believe, so it is InstallShield-specific. IS_MINOR_UPGRADE isn't documented; it might be set by setup.exe, but yes, it's not a predefined Windows Installer property.