Share via


InstallationManager Class

Definition

Manages the application installations for a phone.

public ref class InstallationManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class InstallationManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class InstallationManager
Public Class InstallationManager
Inheritance
Object Platform::Object IInspectable InstallationManager
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced in v1.0)

Remarks

Use this class to find applications from a particular app publisher, install apps and get pending app installs.

Methods

AddPackageAsync(String, Uri, String, String, Uri)

This API is not intended to be used directly from your code.

AddPackageAsync(String, Uri)

Starts the installation process for the app specified by the app title and location URI.

FindPackages()

Retrieves information about all packages installed across all users.

FindPackages(String, String)

Finds all installed packages with the specified name and publisher.

FindPackagesForCurrentPublisher()

Returns all the app packages with the same publisher ID as the app calling this method.

GetPendingPackageInstalls()

Returns all of the app installations currently in progress.

RegisterPackageAsync(Uri, IIterable<Uri>, DeploymentOptions)

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

RemovePackageAsync(String, RemovalOptions)

Removes a package for the current user asynchronously and receives progress and status messages on the removal operation. Dependency packages are also removed for the user if no other packages installed for the user depend on them.

Applies to