cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mlerch
Level 6

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
Labels (1)
0 Kudos
(1) Reply
mlerch
Level 6

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?
0 Kudos