Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
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.

InstallationManager class

Manages the application installations for a phone.

Syntax


var installationManager = Windows.Phone.Management.Deployment.InstallationManager;

Members

The InstallationManager class has these types of members:

Methods

The InstallationManager class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
AddPackageAsync(String,Uri) Starts the installation process for the app specified by the app title and location URI.
AddPackageAsync(String,Uri,String,String,Uri) This API is not intended to be used directly from your code.
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 Registers a package (the main package) and its dependency packages for the current user.
RemovePackageAsync 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.

 

Remarks

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

Requirements (Windows 10 device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

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

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.WinMD

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

 

 

Show:
© 2015 Microsoft