InstallationManager InstallationManager InstallationManager InstallationManager Class

Definition

Manages the application installations for a phone.

public : static class InstallationManager
static struct winrt::Windows::Phone::Management::Deployment::InstallationManager
public static class InstallationManager
Public Static Class InstallationManager
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)

Remarks

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

Methods

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

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

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

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

FindPackages() FindPackages() FindPackages() FindPackages()

Retrieves information about all packages installed across all users.

FindPackages(String, String) FindPackages(String, String) FindPackages(String, String) FindPackages(String, String)

Finds all installed packages with the specified name and publisher.

FindPackagesForCurrentPublisher() FindPackagesForCurrentPublisher() FindPackagesForCurrentPublisher() FindPackagesForCurrentPublisher()

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

GetPendingPackageInstalls() GetPendingPackageInstalls() GetPendingPackageInstalls() GetPendingPackageInstalls()

Returns all of the app installations currently in progress.

RegisterPackageAsync(Uri, IIterable<Uri>, DeploymentOptions) RegisterPackageAsync(Uri, IIterable<Uri>, DeploymentOptions) RegisterPackageAsync(Uri, IIterable<Uri>, DeploymentOptions) RegisterPackageAsync(Uri, IIterable<Uri>, DeploymentOptions)

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

RemovePackageAsync(String, RemovalOptions) RemovePackageAsync(String, RemovalOptions) RemovePackageAsync(String, RemovalOptions) 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.