User Profile
THillebrand
Copper Contributor
Joined Oct 09, 2019
User Widgets
Recent Discussions
Update process not started lauching the program by shortcut or taskbar-item
Hi @all! We had developed a client program, deploying it by msix (wapproj with VS2019 (16.3.1), build by AzureDevOps/TFS 2017 with MakeAppx.exe). The update-settings in the appinstaller-file are set to automatic update: <OnLaunch HoursBetweenUpdateChecks="0" ShowPrompt="true" UpdateBlocksActivation="true"/> Installing works fine. But if an update is required, the msix update window-prompt only appears after the program was launched by the start-menue. Launching the program by a manuell created shortcut - or taskbar item - does not trigger the update and the program starts without it, running the old version. The shortcut entries seems to be ok, calling the: explorer.exe shell:AppsFolder\8bbf065c-eac1-4fca-a02e-6753c5308256_ke2zapfkqzqsw!App But execute the shell manually the update does not appear, also. Within the program I set up the Windows.Management.Deployment.PackageManager. After starting by shortcut an the update does not appear the old version of our program tells "PackageUpdateAvailability.Required". Have you got an idea how I can set up desktop-shortcuts and taskbar-items which are able to start the update before starting the (new) program? Is this maybe a windows or msix bug? And how can I create a desktop-shortcut by the definition of msix? Btw., the program was installed on a PC with Windows 10, Version 1903 (Build 18362.356). The complete appinstaller-File: <?xml version="1.0" encoding="utf-8"?> <AppInstaller Uri="UriForAppInstallerFileChangedForPrivacyReasons/PremiumDrive.package.appinstaller" Version="1.0.0.0" xmlns="http://schemas.microsoft.com/appx/appinstaller/2018"> <MainBundle Name="8bbf065c-eac1-4fca-a02e-6753c5308256" Version="1.0.0.0" Publisher="CN=Stieger Software AG, O=Stieger Software AG, POBox=9422, STREET=Hauptstrasse 71, L=Staad, S=SANKT GALLEN, PostalCode=9422, C=CH" Uri="UriForAppInstallerFileChangedForPrivacyReasons/PremiumDrive.package_1.0.0.0/PremiumDrive.package_1.0.0.0.msixbundle" /> <UpdateSettings> <OnLaunch HoursBetweenUpdateChecks="0" ShowPrompt="true" UpdateBlocksActivation="true"/> </UpdateSettings> </AppInstaller>Solved3KViews0likes6Comments
Recent Blog Articles
No content to show