Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.74 KB

packagemanager_stagepackagebyuriasync_446584280.md

File metadata and controls

34 lines (19 loc) · 1.74 KB
-api-id -api-type
M:Windows.Management.Deployment.PackageManager.StagePackageByUriAsync(Windows.Foundation.Uri,Windows.Management.Deployment.StagePackageOptions)
winrt method

-description

Stages a Package to the system without registering it, using the specified deployment options.

-parameters

-param packageUri

The source URI of the main package.

-param options

The package deployment options for the operation.

-returns

The status of the deployment request. The DeploymentResult contains the final returned value of the deployment operation, once it is completed. The DeploymentProgress can be used to obtain the percentage of completion over the entire course of the deployment operation.

-remarks

This method simplifies the existing StagePackageAsync overloads by consolidating all of the deployment options into a single parameter. This method also supports the following features not available with the the StagePackageAsync overloads:

  • You can use the ExternalLocationURI property of the options parameter to specify the URI of an external disk location outside of the MSIX package where the package manifest can reference application content.

  • You can use the AllowUnsigned property of the options parameter to allow activation information from an executable in an unsigned package.

-see-also

Package, StagePackageOptions