AppInstallOptions AppInstallOptions AppInstallOptions AppInstallOptions AppInstallOptions Class

Definition

Provides options you can use in several method overloads of the AppInstallManager class for installing app updates.

public : sealed class AppInstallOptions
struct winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions
public sealed class AppInstallOptions
Public NotInheritable Class AppInstallOptions
var appInstallOptions = new appInstallOptions();
Attributes

Windows 10 requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)
Capabilities
runFullTrust

Remarks

Version history

Windows version SDK version Value added
1809 17763 CampaignId
1809 17763 CompletedInstallToastNotificationMode
1809 17763 ExtendedCampaignId
1809 17763 InstallForAllUsers
1809 17763 InstallInProgressToastNotificationMode
1809 17763 PinToDesktopAfterInstall
1809 17763 PinToStartAfterInstall
1809 17763 PinToTaskbarAfterInstall
1809 17763 StageButDoNotInstall

Constructors

AppInstallOptions() AppInstallOptions() AppInstallOptions() AppInstallOptions() AppInstallOptions()

Creates and initializes a new instance of the AppInstallOptions class.

Properties

AllowForcedAppRestart AllowForcedAppRestart AllowForcedAppRestart AllowForcedAppRestart AllowForcedAppRestart

Gets or sets a value that indicates whether to allow a forced restart of the app that is being installed.

CampaignId CampaignId CampaignId CampaignId CampaignId

Gets or sets the promotion campaign ID that is associated with the app to install.

CatalogId CatalogId CatalogId CatalogId CatalogId

Gets or sets the catalog ID of the app to install.

CompletedInstallToastNotificationMode CompletedInstallToastNotificationMode CompletedInstallToastNotificationMode CompletedInstallToastNotificationMode CompletedInstallToastNotificationMode

Gets or sets the notification toast mode for when the app installation completes.

ExtendedCampaignId ExtendedCampaignId ExtendedCampaignId ExtendedCampaignId ExtendedCampaignId

Gets or sets the extended promotion campaign ID that is associated with the app to install.

ForceUseOfNonRemovableStorage ForceUseOfNonRemovableStorage ForceUseOfNonRemovableStorage ForceUseOfNonRemovableStorage ForceUseOfNonRemovableStorage

Gets or sets a value that indicates whether to install the app to non-removable storage even if the user has configured apps to install to SD card, or whether to install the app to non-removable storage or SD card according to the user's settings.

InstallForAllUsers InstallForAllUsers InstallForAllUsers InstallForAllUsers InstallForAllUsers

Gets or sets a value that indicates whether the application will be installed for all users.

InstallInProgressToastNotificationMode InstallInProgressToastNotificationMode InstallInProgressToastNotificationMode InstallInProgressToastNotificationMode InstallInProgressToastNotificationMode

Gets or sets the notification toast mode for when the app installation is in progress.

LaunchAfterInstall LaunchAfterInstall LaunchAfterInstall LaunchAfterInstall LaunchAfterInstall

Gets or sets a value that indicates whether to automatically launch the app after it is installed.

PinToDesktopAfterInstall PinToDesktopAfterInstall PinToDesktopAfterInstall PinToDesktopAfterInstall PinToDesktopAfterInstall

Gets or sets a value that determines whether the product being installed should be pinned to the desktop after installation is complete.

PinToStartAfterInstall PinToStartAfterInstall PinToStartAfterInstall PinToStartAfterInstall PinToStartAfterInstall

Gets or sets a value that indicates whether the product being installed should be pinned to the Start menu after installation is complete.

PinToTaskbarAfterInstall PinToTaskbarAfterInstall PinToTaskbarAfterInstall PinToTaskbarAfterInstall PinToTaskbarAfterInstall

Gets or sets a value that indicates whether the product being installed should be pinned to the taskbar after installation is complete.

Repair Repair Repair Repair Repair

Gets or sets a value that indicates whether to attempt to repair the installation of an app that is already installed.

StageButDoNotInstall StageButDoNotInstall StageButDoNotInstall StageButDoNotInstall StageButDoNotInstall

Gets or sets a value that indicates whether the installation of the app should pause after the download and staging step but not complete the final install.

TargetVolume TargetVolume TargetVolume TargetVolume TargetVolume

Gets or sets the package storage volume where the app or app bundle will be installed.

See also