-api-id | -api-type |
---|---|
M:Windows.Management.Deployment.PackageManager.RequestAddPackageByAppInstallerFileAsync(Windows.Foundation.Uri,Windows.Management.Deployment.AddPackageByAppInstallerOptions,Windows.Management.Deployment.PackageVolume) |
winrt method |
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).
A Uri to the .appinstaller file.
The options as specified in AddPackageByAppInstallerOptions.
The volume that the package is installed to.
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.
packageManagement