FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit ae1ceff6 authored by Mr Chris B Mortimer's avatar Mr Chris B Mortimer
Browse files

Merge branch 'msteams_fixed' into 'master'

Msteams fixed

See merge request !44
parents 776d4146 abe3be96
No related branches found
No related tags found
1 merge request!44Msteams fixed
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages xmlns:packages="http://www.wpkg.org/packages">
<!-- MSI from https://docs.microsoft.com/en-us/microsoftteams/msi-deployment -->
<package id="msteams" name="Microsoft Teams" revision="%version%.1" priority="50" reboot="false">
<variable name="version" value="1.3.0.4461" />
<variable name="msi_guid" value="731F6BAA-A986-45A4-8936-7C3AAAAA760B" />
<check type="uninstall" condition="versiongreaterorequal" path="Teams Machine-Wide Installer" value="%version%" />
<install cmd='msiexec /qn /i %WPKGSOFTWARE%\microsoft.com\teams\Teams_windows_x64.msi OPTIONS="noAutoStart=true"' />
<!-- MSI only installs an installer in \Program Files (x86)\. Users then install Teams in their AppData folder. MSI doesn't include Start Menu item as by default Teams starts at login, we add option to stop this -->
<install cmd='cscript %WPKGSOFTWARE%\wpkg\tools\create-shortcut.js /folder:"Microsoft Teams" /linkname:"MS Teams installer" /target:"%PROGRAMFILES(x86)%\Teams Installer\Teams.exe"' />
<upgrade include='remove' />
<upgrade include='install' />
<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'>
<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>
</packages:packages>
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