Windows Dev Center

InstallationManager.RegisterPackageAsync | registerPackageAsync method

Registers a package (the main package) and its dependency packages for the current user.

Syntax


Windows.Phone.Management.Deployment.InstallationManager.registerPackageAsync(manifestUri, dependencyPackageUris, deploymentOptions).done( /* Your success and error handlers */ );

Parameters

manifestUri

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

The path to the package manifest of the main package.

dependencyPackageUris

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

The paths to the dependency packages. If there are no dependency packages or if the dependency packages are already registered, this parameter can be null. When DeploymentOptions is set to DevelopmentMode, leave this parameter null.

deploymentOptions

Type: DeploymentOptions

Options that modify the deployment operation.

Return value

Type: IAsyncOperationWithProgress<PackageInstallResult, UInt32>

An object that represents the asynchronous deployment operation and includes progress updates.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.WinMD

See also

InstallationManager

 

 

Community Additions

ADD
Show:
© 2015 Microsoft