Jaa


AddPackageByAppInstallerOptions Enum

Definition

A subset of DeploymentOptions that are valid for App Installer.

This enumeration supports a bitwise combination of its member values.

public enum class AddPackageByAppInstallerOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class AddPackageByAppInstallerOptions
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum AddPackageByAppInstallerOptions
var value = Windows.Management.Deployment.AddPackageByAppInstallerOptions.none
Public Enum AddPackageByAppInstallerOptions
Inheritance
AddPackageByAppInstallerOptions
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Fields

Name Value Description
None 0

The default behavior is used.

InstallAllResources 32

When you set this option, the app is instructed to skip resource applicability checks. This effectively stages or registers all resource packages that a user passes in to the command, which forces applicability for all packages contained in a bundle. If a user passes in a bundle, all contained resource packages will be registered.

ForceTargetAppShutdown 64

If this package is currently in use, the processes associated with the package are shut down forcibly so that registration can continue.

RequiredContentGroupOnly 256

When you set this option, only the required content group will be staged. An app can be installed as a package with the required content group alone.

LimitToExistingPackages 512

Do not download missing referenced packages

Remarks

Version history

Windows version SDK version Value added
1903 18362 LimitToExistingPackages

Applies to