appx/appinstaller RequestAddPackageByAppInstallerFileAsync problems

Copper Contributor

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?

1 Reply
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?