I have a scenario in my installer during in which I want to execute a powershell script (inline) if a particular feature is selected for installation in the "ConfigureDlg". to achieve this, I did the following things:
- Added a custom action "Run Powershell Inline Script" with sequence (I need admin rights)
Added it after "Add Resources" stage in Install Execution Stage
Ticked all the 3 options under Execution Options
Ticked "Install" and "Maintenance" under Execution Stage Condition
Set the Condition toCode: Select all
(VersionNT > 501) OR (VersionNT = 501 AND ServicePackLevel >= 2) AND ((&FeatureId = 3) AND NOT (!FeatureId = 3))
Is there anything that I am missing or doing wrong?
Thank you.
AI Version: 14.4.2 build 82742