question

SwaminathanPariventhanEXT-5308 avatar image
0 Votes"
SwaminathanPariventhanEXT-5308 asked RoyLi-MSFT commented

Install UWP app using sideload when the app is opened and running

Hi,

Have requirements to upgrade UWP app while the app is in running mode. App upgrade is trigger within the application.

Basically UWP app is running in kiosk mode using Shell Launcher V2, we have added auto restart constraint when the app got crashed or killed, in this case we have one situation to close the app in kiosk mode and upgrade the same, but as per the kiosk the app is automatically relaunched when it's closed for upgrade.

Now we are thinking to make it upgrade while app is running, Is it possible to upgrade UWP app while the app is already in running mode? or is there anyway to kill the UWP app in kiosk mode based on some constraints.

windows-uwp
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

First of all, would you minding telling me in what ways that you've tried to upgrade your app? Have you tried the Packagemanager.UpdatePackageAsync method?


1 Vote 1 ·

No, actually we are sideloading the package and upgrading msixbundle.

We are upgrading with multiple services so we have created one msi bundle to upgrade.

Using DISM command to upgrade the same for multiple user.

0 Votes 0 ·
RoyLi-MSFT avatar image RoyLi-MSFT SwaminathanPariventhanEXT-5308 ·

If that, I'd suggest you take a look at the Packagemanager.UpdatePackageAsync method so that you could try to trigger the update inside the app. It should be able to achieve what you want.

0 Votes 0 ·

0 Answers