Share via


AppInstallerInfo Class

Definition

Represents an App Installer file containing app package and bundle information for defining the packages that are part of a related set and specifying update and repair configuration.

public ref class AppInstallerInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppInstallerInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppInstallerInfo
Public NotInheritable Class AppInstallerInfo
Inheritance
Object Platform::Object IInspectable AppInstallerInfo
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

For more information on the file format and contents, see App Installer File.

Get an instance of this class by calling Package.GetAppInstallerInfo.

Properties

AutomaticBackgroundTask

Gets a boolean value indicating whether the deployment service checks for app updates in the background.

DependencyPackageUris

Gets a read-only list of Uri objects pointing to the dependency packages that are required for successful deployment of the related set.

ForceUpdateFromAnyVersion

Gets a boolean value indicating whether the app version can be both incremented and decremented. If the value is false, the app can only move to a higher version.

HoursBetweenUpdateChecks

Gets an integer value specifying the frequency with which the the deployment service will check for an update to the App Installer file.

IsAutoRepairEnabled

Gets a value specifying if the OS and deployment service can automatically perform a repair when the package is marked for remediation.

LastChecked

Gets a value indicating the date and time when deployment service last checked for updates.

OnLaunch

Gets a boolean value specifying whether the deployment service will check for an update to the App Installer file when the app launches.

OptionalPackageUris

Gets a read-only list of Uri objects pointing to the optional packages that will be installed along with the main package.

PausedUntil

Gets a value indicating the date and time that update checks will resume.

PolicySource

Gets a value from the AppInstallerPolicySource enumeration indicating whether the update policy specified in the AppInstallerInfo was set using from a system or default source.

RepairUris

Gets a read-only list of Uri objects pointing to App Installer files for repairing an installation.

ShowPrompt

Gets a boolean value specifying whether the deployment service will show a prompt informing the user about an update.

UpdateBlocksActivation

Gets a boolean value specifying whether the deployment service will stop the user from launching the application until a pending update has been applied.

UpdateUris

Gets a read-only list of Uri objects pointing to App Installer files for updating an installation.

Uri

Gets the a Uri object pointing to the App Installer file represented by the AppInstallerInfo object.

Version

Gets a PackageVersion object expressing the version of the App Installer file represented by the AppInstallerInfo object.

Applies to