Edit

Share via


s2:UpdateSettings

Description

Specifies settings related to app updates. (s2:UpdateSettings)

Element Hierarchy

s2:AppInstaller

     <s2:UpdateSettings>

Syntax

<s2:UpdateSettings>
<!-- Child elements -->
  OnLaunch{0,1}
  AutomaticBackgroundTask{0,1}
  s4:ForceUpdateFromAnyVersion{0,1}
</s2:UpdateSettings>

Child Elements

Element Description
s2:OnLaunch Specifies whether the deployment service will check for an update to the App Installer file on the app launch.
s2:AutomaticBackgroundTask An optional element of the App Installer file, the presence of which indicates that the system should check for updates in the background.
s4:ForceUpdateFromAnyVersion An optional element of the App Installer file that specifies if an app can be updated from any version.

Parent Elements

Parent Elements Description
s2:AppInstaller Defines the root element of an AppInstaller file.

Requirements

Requirement Value
xmlns:s2=http://schemas.microsoft.com/appx/appinstaller/2017/2 This namespace is required for features introduced in Windows 10, version 1803.
xmlns:s4=http://schemas.microsoft.com/appx/appinstaller/2021 This namespace is required for features introduced in Windows version 21H2 build 22000
Minimum OS version Windows 10 version 1803 build 17134