Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.76 KB

packagemanager_requestaddpackagebyappinstallerfileasync_1360655875.md

File metadata and controls

40 lines (27 loc) · 1.76 KB
-api-id -api-type
M:Windows.Management.Deployment.PackageManager.RequestAddPackageByAppInstallerFileAsync(Windows.Foundation.Uri,Windows.Management.Deployment.AddPackageByAppInstallerOptions,Windows.Management.Deployment.PackageVolume)
winrt method

Windows.Management.Deployment.PackageManager.RequestAddPackageByAppInstallerFileAsync

-description

Allows single or multiple app Packages to be installed with an .appinstaller file. This will perform a SmartScreen filter and user verification before installing the app package(s).

-parameters

-param appInstallerFileUri

A Uri to the .appinstaller file.

-param options

The options as specified in AddPackageByAppInstallerOptions.

-param targetVolume

The volume that the package is installed to.

-returns

-remarks

This method is identical to AddPackageByAppInstallerAsync except this uses the SmartScreen filter.

This method is not supported in JavaScript. However, you can create a Windows Runtime component that calls this method and then call this component from a JavaScript UWP app. For more information, see App Installer file API issues.

-see-also

App Installer APIs

-examples

Package

-capabilities

packageManagement