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
InstallManager
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()

Creates an instance of the InstallManager class.

Properties

InstallerContexts

Gets a read-only collection of installer context objects.

RebootRequired

Gets a value that indicates whether a reboot is required.

Methods

Cancel()

Cancels installations associated with the current InstallManager instance.

DeleteInstallerFiles()

Deletes all installer files associated with the current InstallManager class.

Dispose()

Disposes of all resources used by the current InstallManager class.

DownloadInstallerFile(InstallerContext, String)

Downloads the installer file using the current installer context.

Finalize()
Load(IEnumerable<Installer>)

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

Load(String)

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

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

Saves the current installation configuration in the specified location.

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

Begins application installation.

StartApplicationInstallation(String, String)
StartInstallation()

Starts the installation process.

StartSynchronousInstallation()

Events

InstallCompleted

Event that indicates the installation has completed.

InstallerStatusUpdated

Event that indicates the the installation status is updated.

Applies to