FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit abe3be96 authored by Dr Adam Thorn's avatar Dr Adam Thorn
Browse files

msteams: don't worry if reg key isn't there to be deleted in the remove cmd

parent 2acff67e
No related branches found
No related tags found
1 merge request!44Msteams fixed
......@@ -19,7 +19,9 @@
<remove cmd='msiexec /qn /x {%msi_guid%}' />
<!-- uninstaller doesn't delete the uninstall key for some reason and yes, even though we install the x64 version the uninstall is x86. See URL at top for this issue being reported -->
<remove cmd='reg delete HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{%msi_guid%} /f' />
<remove cmd='reg delete HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{%msi_guid%} /f'>
<exit code="1"/> <!-- don't make wpkg error if key does not exist though -->
</remove>
<remove cmd='cscript %WPKGSOFTWARE%\wpkg\tools\delete-shortcut.js /folder:"Microsoft Teams" ' />
</package>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment