Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following provides some common instances of conditional statements. For more information, see Conditional Statement Syntax.
For information, see Conditioning Actions to Run During Removal.
NOT Installed
(&FeatureName=3) AND NOT(!FeatureName=3)
The term "&FeatureName=3" means the action is to install the feature local. The term "NOT(!FeatureName=3)" means the feature is not installed local.
(&FeatureName=2) AND (!FeatureName=3)
This condition only checks for a transition of the feature from an installed state of local to the absent state.
(?ComponentName=3) AND ($ComponentName=2 OR $ComponentName=4)
The term "?ComponetName=3" means the component is installed local. The term "$ComponentName=2" means that the action state on the component is Absent. The term "$ComponentName=4" means that the action state on the component is run from source. Note that an action state of advertise is not valid for a component.
?ComponentName=$ComponentName
PATCH AND PATCH >< MEDIASRCPROPNAME
For more information, see the Remarks section on the PATCH property page.
Please sign in to use this experience.
Sign in