Skip to content

Commit

Permalink
Show uninstall text even with /x /qf
Browse files Browse the repository at this point in the history
  • Loading branch information
heaths committed Jun 8, 2023
1 parent 7c79ad9 commit b290174
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion cli/installer/windows/ui.wxs
Expand Up @@ -50,9 +50,18 @@
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>

<Property Id="ARPNOMODIFY" Value="1" />

<InstallUISequence>
<Show Dialog="ResumeDlg" Before="ProgressDlg"><![CDATA[Installed AND RESUME]]></Show>
<Show Dialog="VerifyReadyDlg" Before="ProgressDlg"><![CDATA[Installed AND NOT RESUME AND Preselected]]></Show>
</InstallUISequence>
</UI>

<UIRef Id="WixUI_Common" />

<SetProperty Id="WixUI_InstallMode" Value="Remove" After="CostFinalize" Sequence="ui">
<![CDATA[Installed AND &DefaultFeature<=2]]>
</SetProperty>
</Fragment>
<Fragment>
<UI>
Expand Down Expand Up @@ -91,7 +100,7 @@
To remove such binaries from your home directory, run:
rmdir %USERPROFILE%\.azd\bin.">
<Condition Action="show"><![CDATA[Installed AND REMOVE=ALL]]></Condition>
<Condition Action="show"><![CDATA[&DefaultFeature<=2]]></Condition>
</Control>
</Dialog>

Expand Down

0 comments on commit b290174

Please sign in to comment.