Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.65 KB

addpackagebyappinstalleroptions.md

File metadata and controls

47 lines (31 loc) · 1.65 KB
-api-id -api-type ms.custom
T:Windows.Management.Deployment.AddPackageByAppInstallerOptions
winrt enum
19H1

Windows.Management.Deployment.AddPackageByAppInstallerOptions

-description

A subset of DeploymentOptions that are valid for App Installer.

-enum-fields

-field None:0

The default behavior is used.

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

-field ForceTargetAppShutdown:64

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

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

-field LimitToExistingPackages:512

Do not download missing referenced packages

-remarks

Version history

Windows version SDK version Value added
1903 18362 LimitToExistingPackages

-see-also

AddPackageByAppInstallerFileAsync() RequestAddPackageByAppInstallerFileAsync

-examples