C# 클래스 Squirrel.UpdateManager

상속: IUpdateManager, IEnableLogger
파일 보기 프로젝트 열기: fusetools/Squirrel.Windows 1 사용 예제들

공개 메소드들

메소드 설명
ApplyReleases ( Squirrel.UpdateInfo updateInfo, Action progress = null ) : Task
CheckForUpdate ( bool ignoreDeltaUpdates = false, Action progress = null ) : Task
CreateShortcutsForExecutable ( string exeName, ShortcutLocation locations, bool updateOnly, string programArguments = null, string icon = null ) : void
CreateUninstallerRegistryEntry ( ) : Task
CreateUninstallerRegistryEntry ( string uninstallCmd, string quietSwitch ) : Task
CurrentlyInstalledVersion ( string executable = null ) : SemanticVersion
Dispose ( ) : void
DownloadReleases ( IEnumerable releasesToDownload, Action progress = null ) : Task
FullInstall ( bool silentInstall, ProgressSource progress ) : Task
FullUninstall ( ) : Task
GetLocalAppDataDirectory ( string assemblyLocation = null ) : string
GetShortcutsForExecutable ( string exeName, ShortcutLocation locations, string programArguments = null ) : ShellLink>.Dictionary
GetUninstallStringForOldInstaller ( ) : IEnumerable
KillAllExecutablesBelongingToPackage ( ) : void
RemoveShortcutsForExecutable ( string exeName, ShortcutLocation locations ) : void
RemoveUninstallerRegistryEntry ( ) : void
RestartApp ( string exeToStart = null, string arguments = null ) : void
UpdateManager ( string urlOrPath, string applicationName = null, string rootDirectory = null, IFileDownloader urlDownloader = null ) : System

비공개 메소드들

메소드 설명
InstallRedists ( ) : void
SetParent ( IntPtr hWndChild, IntPtr hWndNewParent ) : IntPtr
UninstallOldInstallerIfFound ( ) : void
acquireUpdateLock ( ) : Task
getApplicationName ( ) : string
getUpdateExe ( ) : string

메소드 상세

ApplyReleases() 공개 메소드

public ApplyReleases ( Squirrel.UpdateInfo updateInfo, Action progress = null ) : Task
updateInfo Squirrel.UpdateInfo
progress Action
리턴 Task

CheckForUpdate() 공개 메소드

public CheckForUpdate ( bool ignoreDeltaUpdates = false, Action progress = null ) : Task
ignoreDeltaUpdates bool
progress Action
리턴 Task

CreateShortcutsForExecutable() 공개 메소드

public CreateShortcutsForExecutable ( string exeName, ShortcutLocation locations, bool updateOnly, string programArguments = null, string icon = null ) : void
exeName string
locations ShortcutLocation
updateOnly bool
programArguments string
icon string
리턴 void

CreateUninstallerRegistryEntry() 공개 메소드

public CreateUninstallerRegistryEntry ( ) : Task
리턴 Task

CreateUninstallerRegistryEntry() 공개 메소드

public CreateUninstallerRegistryEntry ( string uninstallCmd, string quietSwitch ) : Task
uninstallCmd string
quietSwitch string
리턴 Task

CurrentlyInstalledVersion() 공개 메소드

public CurrentlyInstalledVersion ( string executable = null ) : SemanticVersion
executable string
리턴 SemanticVersion

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DownloadReleases() 공개 메소드

public DownloadReleases ( IEnumerable releasesToDownload, Action progress = null ) : Task
releasesToDownload IEnumerable
progress Action
리턴 Task

FullInstall() 공개 메소드

public FullInstall ( bool silentInstall, ProgressSource progress ) : Task
silentInstall bool
progress ProgressSource
리턴 Task

FullUninstall() 공개 메소드

public FullUninstall ( ) : Task
리턴 Task

GetLocalAppDataDirectory() 공개 정적인 메소드

public static GetLocalAppDataDirectory ( string assemblyLocation = null ) : string
assemblyLocation string
리턴 string

GetShortcutsForExecutable() 공개 메소드

public GetShortcutsForExecutable ( string exeName, ShortcutLocation locations, string programArguments = null ) : ShellLink>.Dictionary
exeName string
locations ShortcutLocation
programArguments string
리턴 ShellLink>.Dictionary

GetUninstallStringForOldInstaller() 공개 메소드

public GetUninstallStringForOldInstaller ( ) : IEnumerable
리턴 IEnumerable

KillAllExecutablesBelongingToPackage() 공개 메소드

public KillAllExecutablesBelongingToPackage ( ) : void
리턴 void

RemoveShortcutsForExecutable() 공개 메소드

public RemoveShortcutsForExecutable ( string exeName, ShortcutLocation locations ) : void
exeName string
locations ShortcutLocation
리턴 void

RemoveUninstallerRegistryEntry() 공개 메소드

public RemoveUninstallerRegistryEntry ( ) : void
리턴 void

RestartApp() 공개 정적인 메소드

public static RestartApp ( string exeToStart = null, string arguments = null ) : void
exeToStart string
arguments string
리턴 void

UpdateManager() 공개 메소드

public UpdateManager ( string urlOrPath, string applicationName = null, string rootDirectory = null, IFileDownloader urlDownloader = null ) : System
urlOrPath string
applicationName string
rootDirectory string
urlDownloader IFileDownloader
리턴 System