Join us for SoftSummit 2023. The 20th anniversary of the industry leading software monetization conference. April 18 and 20. Register Now

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JoderCoder
Level 8

Custom Action condition w.r.t feature installation

I want to call a Custom Action if a feature is installed. User may or may not choose to install that feature. How could I compose a condition for this in Install Exec Condition box?

Thanks in advance!
Labels (1)
0 Kudos
2 Replies
Dan_Galender
Level 10

You could use the condition &FeatureName = 3, where FeatureName is the name of your feature. The 3 means that the state of that feature is going from not being installed locally on the machine to being installed locally on the machine.

For more information on this look at the bottom of the help topic "Conditional Statement Syntax" (Feature-Action).
0 Kudos
JoderCoder
Level 8

That did the trick for me, thank you!
0 Kudos