Share via


AppInstallState Enum

Definition

Defines the app install states that are returned by the InstallState property of the AppInstallStatus class.

public enum class AppInstallState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AppInstallState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AppInstallState
var value = Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallState.pending
Public Enum AppInstallState
Inheritance
AppInstallState
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
runFullTrust

Fields

Name Value Description
Pending 0

The app install is pending.

Starting 1

The app install is starting.

AcquiringLicense 2

The license is being acquired for the app.

Downloading 3

The app is being downloaded.

RestoringData 4

The app data is being restored.

Installing 5

The app is in the process of being installed.

Completed 6

The app install is complete.

Canceled 7

The app install is canceled.

Paused 8

The app install was paused.

Error 9

The app install encountered an error.

PausedLowBattery 10

The app install was paused because the battery is low.

PausedWiFiRecommended 11

The app install was paused because the app package was large enough to trigger a prompt for the user to download the app over Wi-Fi.

PausedWiFiRequired 12

The app install was paused because the app package was large enough to require the user to download the app over Wi-Fi.

ReadyToDownload 13

The app is ready to download.

Applies to