-api-id | -api-type |
---|---|
M:Windows.Management.Deployment.PackageManager.RequestAddPackageAsync(Windows.Foundation.Uri,Windows.Foundation.Collections.IIterable{Windows.Foundation.Uri},Windows.Management.Deployment.DeploymentOptions,Windows.Management.Deployment.PackageVolume,Windows.Foundation.Collections.IIterable{System.String},Windows.Foundation.Collections.IIterable{Windows.Foundation.Uri},Windows.Foundation.Collections.IIterable{Windows.Foundation.Uri}) |
winrt method |
Requests a SmartScreen check and user verification before installing the app Package(s). This method provides a packageUrisToInstall overload to specify external packages to be staged and registered.
The URI of the package to add. The URI must follow the file URI scheme (file://) since the only supported URI schemes are local file paths and local network paths.
The URIs of the dependency packages to add. If there are no dependency packages or if the dependency packages are already registered, this parameter can be null.
A valid enumeration value from the DeploymentOptions enumeration.
The volume that the package is installed to.
Strings that specify the optional package family names from the main bundle to be staged and registered.
The URIs of additional packages in the main bundle that should be staged and registered.
A list of other package URIs to be staged and registered. This can contain paths to external packages to be installed.
The progress and result of adding the app package.