Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PackageManager.StagePackageAsync(Uri, IIterable(Uri)) | stagePackageAsync(Uri, IIterable(Uri)) method

Applies to Windows only

Stages a package to the system without registering it.

Syntax


packageManager.stagePackageAsync(packageUri, dependencyPackageUris).done( /* Your success and error handlers */ );

Parameters

packageUri

Type: Windows.Foundation.Uri [JavaScript] | System.Uri [.NET] | Windows::Foundation::Uri [C++]

The source URI of the main package.

dependencyPackageUris

Type: IIterable<Uri> [JavaScript/C++] | System.Collections.Generic.IEnumerable<Uri> [.NET]

The source URIs of the dependency packages. If there are no dependency packages or dependency packages are already staged, this parameter can be null.

Return value

Type: IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress>

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

The stage operation will extract the package payload to disk under %ProgramFiles%\WindowsApps.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Management.Deployment
Windows::Management::Deployment [C++]

Metadata

Windows.winmd

See also

PackageManager
StagePackageAsync(Uri, IIterable(Uri), DeploymentOptions)

 

 

Show:
© 2014 Microsoft