Dec 23 2021 04:56 AM
Hi everyone,
I'm trying to update an MSIX installed .netcore3.1 application using the Windows.Management.Deployment.PackageManager), with the following source code:
var installTask = packagemanager.UpdatePackageAsync(new Uri(downloadUri),null, DeploymentOptions.ForceApplicationShutdown | DeploymentOptions.ForceUpdateFromAnyVersion ).AsTask(downloadProgress);
The operation immediately the new package) fails with a FileNotFoundException and the Error Code 0x8007002 . (System.IO.FileNotFoundException: The system cannot find the file specified. (0x80070002)) The Filename Property of the Exception is unfortunately empty.
The new downloadUri is reachable from browser without authentication.
Is there a way to debug the UpdatePackage Operation or gather more Details? I tried Get-AppXLog, but it didn't contain any entries for the relevant time period.
Thanks!
Martin
Dec 23 2021 05:09 AM
Dec 23 2021 06:55 AM