Skip to content

Commit ab21faf

Browse files
committed
Add back InstallExecuteSequence for custom actions - reinstate module cleanup and execution policy update
1 parent 8411c23 commit ab21faf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

setup/azurecmd.wxs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@
102102
<CustomAction Id="SetExecutionPolicy" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -WindowStyle Hidden -NonInteractive -ExecutionPolicy Bypass -Command &quot;. \&quot;[PowerShellFolder]SetExecutionPolicy.ps1\&quot;&quot;" Execute="deferred" Impersonate="no" Return="check"/>
103103
<CustomAction Id="RemoveGalleryModules" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -WindowStyle Hidden -NonInteractive -ExecutionPolicy Bypass -Command &quot;. \&quot;[PowerShellFolder]RemoveGalleryModules.ps1\&quot;&quot;" Execute="deferred" Impersonate="no" Return="check"/>
104104

105+
<InstallExecuteSequence>
106+
<Custom Action="SetCustomActionDataValue" After="CreateShortcuts">NOT Installed</Custom>
107+
<Custom Action="RemoveGalleryModules" After="SetCustomActionDataValue">NOT Installed</Custom>
108+
<Custom Action="SetExecutionPolicy" After="RemoveGalleryModules">NOT Installed</Custom>
109+
</InstallExecuteSequence>
110+
105111
<WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\media\License.rtf" />
106112
<UIRef Id="WixUI_Minimal" />
107113
<WixVariable Id="WixUIBannerBmp" Value="media\bannrbmp.bmp" />

0 commit comments

Comments
 (0)