InstallManager InstallManager InstallManager InstallManager Class

Definition

Manages the installation configuration and installation process.

public ref class InstallManager sealed : IDisposable
public sealed class InstallManager : IDisposable
type InstallManager = class
    interface IDisposable
Public NotInheritable Class InstallManager
Implements IDisposable
Inheritance
InstallManagerInstallManagerInstallManagerInstallManager
Implements

Remarks

This class provides methods to start and stop installation as well as perform cleanup duties associated with the post-installations or cancellations.

Constructors

InstallManager() InstallManager() InstallManager() InstallManager()

Creates an instance of the InstallManager class.

Properties

InstallerContexts InstallerContexts InstallerContexts InstallerContexts

Gets a read-only collection of installer context objects.

RebootRequired RebootRequired RebootRequired RebootRequired

Gets a value that indicates whether a reboot is required.

Methods

Cancel() Cancel() Cancel() Cancel()

Cancels installations associated with the current InstallManager instance.

DeleteInstallerFiles() DeleteInstallerFiles() DeleteInstallerFiles() DeleteInstallerFiles()

Deletes all installer files associated with the current InstallManager class.

Dispose() Dispose() Dispose() Dispose()

Disposes of all resources used by the current InstallManager class.

DownloadInstallerFile(InstallerContext, String) DownloadInstallerFile(InstallerContext, String) DownloadInstallerFile(InstallerContext, String) DownloadInstallerFile(InstallerContext, String)

Downloads the installer file using the current installer context.

Finalize() Finalize() Finalize() Finalize()
Load(String, IDictionary<String,String>) Load(String, IDictionary<String,String>) Load(String, IDictionary<String,String>) Load(String, IDictionary<String,String>)
Load(IEnumerable<Installer>) Load(IEnumerable<Installer>) Load(IEnumerable<Installer>) Load(IEnumerable<Installer>)

Loads a collection of installers from the given generic IEnumerable collection of Installer objects.

Load(String) Load(String) Load(String) Load(String)

Loads a collection of installers from the file at the given location.

Save(String) Save(String) Save(String) Save(String)

Saves the current installation configuration in the specified location.

Save(String, IDictionary<String,String>) Save(String, IDictionary<String,String>) Save(String, IDictionary<String,String>) Save(String, IDictionary<String,String>)
StartApplicationInstallation() StartApplicationInstallation() StartApplicationInstallation() StartApplicationInstallation()

Begins application installation.

StartApplicationInstallation(String, String) StartApplicationInstallation(String, String) StartApplicationInstallation(String, String) StartApplicationInstallation(String, String)
StartInstallation() StartInstallation() StartInstallation() StartInstallation()

Starts the installation process.

StartSynchronousInstallation() StartSynchronousInstallation() StartSynchronousInstallation() StartSynchronousInstallation()

Events

InstallCompleted InstallCompleted InstallCompleted InstallCompleted

Event that indicates the installation has completed.

InstallerStatusUpdated InstallerStatusUpdated InstallerStatusUpdated InstallerStatusUpdated

Event that indicates the the installation status is updated.

Applies to