Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.31 KB

addpackageoptions_externallocationuri.md

File metadata and controls

25 lines (14 loc) · 1.31 KB
-api-id -api-type
P:Windows.Management.Deployment.AddPackageOptions.ExternalLocationUri
winrt property

-description

Gets or sets the URI of an external disk location outside of the MSIX package where the package manifest can reference application content.

-property-value

The URI of an external disk location outside of the MSIX package where the package manifest can reference application content.

-remarks

This property is intended to be used when you are granting package identity by packaging with external location. A package with external location contains only a package manifest (not an executable or other application content). The package manifest references application content in an external disk location outside of the package.

In this scenario, you can use this property property to specify the location where your application's executable and other content are installed to. In code that is run by your installer or your application, create a AddPackageOptions object and assign this property to the external location. Then, call the AddPackageByUriAsync method and pass the AddPackageOptions object to options parameter.

-see-also

AddPackageOptions

-examples