Hi,
My application needs to install various office-addins. I do this via custom actions that register/unregister the associated dlls. For each office addin (Word, Outlook, PowerPoint), I have defined one feature.
Now I am not sure that I understand the execution conditions correctly. Each feature has two variables, one that describes its installed state (e.g. !Feature_1) and one that describes whether this feature has been selected for installation by the user (&Feature_1).
Am I on the right track with the following execution conditions?
Installation action:
&Feature_1 AND NOT !Feature_1
Uninstallation action:
!Feature_1 AND NOT &Feature_1 (do I have to add any "REMOVE= ?? " condition ?)
Rollback action:
NOT !Feature_1 AND &Feature_1 (=same as installation action?)
By the way, is there a way to rename the &Feature_x variables into something that corresponds more closely to the feature names? I always have a hard time in figuring out which of my features is meant by a variable such as &Feature_3 (Unfortunately, the feature properties dialog does not list the corresponding variable names; there seems to be no quick way of matching a feature variable used in a condition with the feature it belongs to).
Thanks for your help.
-Alexander
FOLLOW US
Get the latest news in Application Packaging