AddPackageByAppInstallerOptions AddPackageByAppInstallerOptions AddPackageByAppInstallerOptions AddPackageByAppInstallerOptions Enum

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
A subset of DeploymentOptions that are valid for App Installer.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class AddPackageByAppInstallerOptionspublic enum AddPackageByAppInstallerOptionsPublic Enum AddPackageByAppInstallerOptions// You can use this enum in JavaScript.
Attributes
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Fields

ForceTargetAppShutdown ForceTargetAppShutdown ForceTargetAppShutdown ForceTargetAppShutdown

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

InstallAllResources InstallAllResources InstallAllResources InstallAllResources

Prerelease. 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.

None None None None

Prerelease. The default behavior is used.

RequiredContentGroupOnly RequiredContentGroupOnly RequiredContentGroupOnly RequiredContentGroupOnly

Prerelease. 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.