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: Referencing installed Features on Upgrades
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 20, 2009
12:31 PM
Referencing installed Features on Upgrades
I have a custom action which modifies the Target field of the Desktop Shortcut if a certain feature was chosen for installation, using the the "Install Exec Condition."
The problem is the Action runs every time in the case of an Upgrade. It is as though the Feature name only has scope if the full install is being executed.
Is there a way to reference the name of an existing, installed Feature instead of the install-time feature variable?
Thanks,
Mark
The problem is the Action runs every time in the case of an Upgrade. It is as though the Feature name only has scope if the full install is being executed.
Is there a way to reference the name of an existing, installed Feature instead of the install-time feature variable?
Thanks,
Mark
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 20, 2009
12:38 PM
Hi Mark,
Use ! instead of &. From the msi sdk:
& = Action state of the feature.
! = Installed state of the feature.
Regards,
Mark
p.s. Talk to yourself much?
Use ! instead of &. From the msi sdk:
& = Action state of the feature.
! = Installed state of the feature.
Regards,
Mark
p.s. Talk to yourself much?