C# Class SevenUpdate.Install

Class containing methods to install updates.
Afficher le fichier Open project: robertbaker/SevenUpdate

Méthodes publiques

Méthode Description
CancelInstall ( ) : void

Cancel the installation of updates.

InstallUpdates ( Collection applications, string downloadDirectory ) : void

Installs updates.

Private Methods

Méthode Description
AddHistory ( Sui appInfo, Update updateInfo, bool failed = false ) : void

Adds an update to the update history.

ReportProgress ( int installProgress ) : void

Reports the installation progress.

SetRegistryItems ( IList regItems, System.Platform platform ) : void

Sets the registry items of an update.

SetShortcuts ( IList shortcuts, Sua appInfo ) : void

Installs the shortcuts of an update.

UpdateFile ( UpdateFile file ) : void

Updates the file on the system.

UpdateFiles ( IList files, string downloadDirectory ) : void

Installs the files in the update.

Method Details

CancelInstall() public static méthode

Cancel the installation of updates.
public static CancelInstall ( ) : void
Résultat void

InstallUpdates() public static méthode

Installs updates.
public static InstallUpdates ( Collection applications, string downloadDirectory ) : void
applications Collection The collection of applications to install updates.
downloadDirectory string The directory containing the app update files.
Résultat void