Missing AddPackageByAppInstallerOptions.ForceTargetAppRestart flag

Karol W 0 Reputation points
2023-01-27T11:34:40.87+00:00

why there is no flag such as : AddPackageByAppInstallerOptions.ForceTargetAppRestart and only AddPackageByAppInstallerOptions.ForceTargetAppShutdown ? that is not nice UX.

I want to programmatically apply updates but the app should restart automatically and not just close, and force user to manually open it. Is there an easy solution ? I don't really want to include another exec to my app just to start the app after it closes it too much overhead for such simple thing.

Thanks,

Karol

Universal Windows Platform (UWP)
{count} votes