C# Класс SevenUpdate.Install

Class containing methods to install updates.
Показать файл Открыть проект

Открытые методы

Метод Описание
CancelInstall ( ) : void

Cancel the installation of updates.

InstallUpdates ( Collection applications, string downloadDirectory ) : void

Installs updates.

Приватные методы

Метод Описание
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.

Описание методов

CancelInstall() публичный статический Метод

Cancel the installation of updates.
public static CancelInstall ( ) : void
Результат void

InstallUpdates() публичный статический Метод

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.
Результат void