C# Class SevenUpdate.Install

Class containing methods to install updates.
ファイルを表示 Open project: robertbaker/SevenUpdate

Public Methods

Method Description
CancelInstall ( ) : void

Cancel the installation of updates.

InstallUpdates ( Collection applications, string downloadDirectory ) : void

Installs updates.

Private Methods

Method 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 method

Cancel the installation of updates.
public static CancelInstall ( ) : void
return void

InstallUpdates() public static method

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.
return void