Skip to content

Commit 0dc9981

Browse files
committed
Merge pull request Azure#1771 from Azure/module-cleanup
Add back InstallExecuteSequence for custom actions - reinstate module…
2 parents 2674616 + 0f1bd8a commit 0dc9981

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup/azurecmd.wxs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@
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="RemoveGalleryModules" After="CreateShortcuts">NOT Installed</Custom>
107+
<Custom Action="SetExecutionPolicy" After="RemoveGalleryModules">NOT Installed</Custom>
108+
</InstallExecuteSequence>
109+
105110
<WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\media\License.rtf" />
106111
<UIRef Id="WixUI_Minimal" />
107112
<WixVariable Id="WixUIBannerBmp" Value="media\bannrbmp.bmp" />

0 commit comments

Comments
 (0)