Forum Discussion

yowl00's avatar
yowl00
Copper Contributor
Sep 27, 2021

appx/appinstaller RequestAddPackageByAppInstallerFileAsync problems

Is this the right place to ask about RequestAddPackageByAppInstallerFileAsync ?

 

When its called from the application to schedule an update, it fails with

 

The package could not be installed because resources it modifies are currently in use.

 

Well, that's the part of the purpose of the api isn't it, to update itself?  If not how do you schedule an update on restart?

  • This is the right place to ask these questions. Do you also get the same issue if it is triggered with via PowerShell? Can you please provide us more details (logs) via Feedback Hub?

Resources