AppInstallerInfo.UpdateBlocksActivation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a boolean value specifying whether the deployment service will stop the user from launching the application until a pending update has been applied.
public:
property bool UpdateBlocksActivation { bool get(); };
bool UpdateBlocksActivation();
public bool UpdateBlocksActivation { get; }
var boolean = appInstallerInfo.updateBlocksActivation;
Public ReadOnly Property UpdateBlocksActivation As Boolean
Property Value
bool
True if app activation is blocked by updates; otherwise, false.
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|
Remarks
When this property is true, on app launch the user is shown a dialog that will allow them to update or close the app. When this property is false, the user is shown a dialog that will allow them to update or launch the app. If the user launches the app, the update will be applied silently at an opportune time.
This property is equivalent to the UpdateBlocksActivation attribute of the OnLaunch element of the App Installer file schema.