uap17:UpdateWhileInUse

Description

Specifies whether the OS should close the app for app updates, or if the update should be deferred until the next time the app is restarted by the user or a system reboot. The OS will still force-close the app for required OS updates and system reboots.

Element Hierarchy

<Package>
<Properties>
<uap17:UpdateWhileInUse>

Syntax

<uap17:UpdateWhileInUse>"allow" | "defer"
</uap17:UpdateWhileInUse>

Remarks

If the value of this element is set to "defer", then any force update options specified with AddPackageOptions.ForceTargetAppShutdown, RegisterPackageOptions.ForceTargetAppShutdown, or DeploymentOptions.ForceApplicationShutdown will be ignored.

Requirements

Prefix Value
uap17 http://schemas.microsoft.com/appx/manifest/uap/windows10/17
Minimum OS Version Windows 11 version 24H2 (Build 26100)
Minimum SDK Version Windows SDK version 10.0.26100.0 (Windows 11, version 24H2)