New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempt MSI clean-up of ~/.azd/bin #1834
Conversation
Also has uninstall text that it might not have worked for all users and what to do.
Actually, there may be a better way of doing this I want to test. The |
By moving REP later, we support a scenario that conditioning RemoveFiles would've broken: if a newer version removed files an older version installed, those wouldn't have gotten cleaned up. This is generally a faster upgrade path anyway and is rarely a problem, especially if component rules are maintained i.e., you don't change component composition (files, registry) and keep the component GUIDs the same for the same key paths (WiX uses component auto-GUIDs).
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash:
pwsh:
WindowsPowerShell install
MSI install
Standalone Binary
MSIContainer
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference (preview)
|
Testing:
|
To remove such binaries from your home directory, run: | ||
|
||
rmdir %USERPROFILE%\.azd\bin."> | ||
<Condition Action="show"><![CDATA[Installed AND REMOVE=ALL]]></Condition> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@barnson any idea why uninstalling via maintenance mode will show this text in the custom ExitDlg
(copied from WiX's ExitDialog
since I wanted this on uninstall) but not with msiexec /x
? The Installed
and REMOVE
properties are set as I knew they would be so I can't imagine why this doesn't show with msiexec /x
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also has uninstall text that it might not have worked for all users and what to do.