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
- :
- Feature condition not respected by patch
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 16, 2009
09:24 AM
Feature condition not respected by patch
in a custom action's "Install Exec Condition" I have:
&Server <> 3
because I don't want it executed if the Server feature was chosen for installation. This works for the msi, but fails for my minor upgrade, and QuickPatch also - it runs every time.
The Action sets a Property value which is used in the Arguments field of a Shortcut. The Shortcut does not get created when the Server feature is chosen.
When the patch runs, if the Shortcut is present it always gets the property value set, which indicates the Action always runs. I only want it to run when the Server feature wasn't installed, just as the original msi did.
&Server <> 3
because I don't want it executed if the Server feature was chosen for installation. This works for the msi, but fails for my minor upgrade, and QuickPatch also - it runs every time.
The Action sets a Property value which is used in the Arguments field of a Shortcut. The Shortcut does not get created when the Server feature is chosen.
When the patch runs, if the Shortcut is present it always gets the property value set, which indicates the Action always runs. I only want it to run when the Server feature wasn't installed, just as the original msi did.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 16, 2009
10:21 AM
got it figured out. I just needed to remove the "s" from REINSTALLMODE. I don't want the shortcuts recreated.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)