[MM-22960] - Keep desktop app pinned to taskb bar when the app upgrades (#1397)

Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local>
This commit is contained in:
Nev Angelova 2020-11-25 14:15:34 +01:00 committed by GitHub
parent 83bae0c2b8
commit b3fbf2462b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,6 +124,8 @@
<ComponentRef Id="GPOUSEnglishFiles" /> <ComponentRef Id="GPOUSEnglishFiles" />
</Feature> </Feature>
<InstallExecuteSequence> <InstallExecuteSequence>
<RemoveShortcuts>Installed AND NOT UPGRADINGPRODUCTCODE</RemoveShortcuts>
<Custom Action="KillApp" Before="InstallValidate" /> <Custom Action="KillApp" Before="InstallValidate" />
<Custom Action="LaunchApp" After="InstallFinalize">Installed</Custom> <Custom Action="LaunchApp" After="InstallFinalize">Installed</Custom>
</InstallExecuteSequence> </InstallExecuteSequence>