InstallManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for