C# Class Squirrel.Update.Program

Inheritance: IEnableLogger
Mostrar archivo Open project: fusetools/Squirrel.Windows

Public Methods

Method Description
Deshortcut ( string exeName, string shortcutArgs ) : void
Download ( string updateUrl, string appName = null ) : Task
GetReleaseEntry ( string sourceDirectory ) : Squirrel.ReleaseEntry
Install ( bool silentInstall, ProgressSource progressSource, string ourAppName, string sourceDirectory ) : Task
Main ( string args ) : int
ProcessStart ( string exeName, string arguments, bool shouldWait ) : void
Releasify ( string package, string targetDir = null, string packagesDir = null, string bootstrapperExe = null, string backgroundGif = null, string signingOpts = null, string baseUrl = null, string setupIcon = null, bool generateMsi = true ) : void
Shortcut ( string exeName, string shortcutArgs, string processStartArgs, string icon ) : void
ShowHelp ( ) : void
Uninstall ( string appName, string location ) : Task
Update ( string updateUrl, string appName = null ) : Task
UpdateSelf ( ) : Task

Private Methods

Method Description
createMsiPackage ( string setupExe, IPackage package ) : Task
createSetupEmbeddedZip ( string fullPackage, string releasesDir, string backgroundGif, string signingOpts ) : Task
ensureConsole ( ) : void
executeCommandLine ( string args, string logPath ) : int
findExecutable ( string toFind ) : string
getAppNameFromDirectory ( string path = null ) : string
main ( string args ) : int
parseShortcutLocations ( string shortcutArgs ) : ShortcutLocation?
pathToWixTools ( ) : string
setPEVersionInfoAndIcon ( string exePath, IPackage package, string iconPath = null ) : Task
signPEFile ( string exePath, string signingOpts ) : Task
waitForParentToExit ( ) : void

Method Details

Deshortcut() public method

public Deshortcut ( string exeName, string shortcutArgs ) : void
exeName string
shortcutArgs string
return void

Download() public method

public Download ( string updateUrl, string appName = null ) : Task
updateUrl string
appName string
return Task

GetReleaseEntry() public method

public GetReleaseEntry ( string sourceDirectory ) : Squirrel.ReleaseEntry
sourceDirectory string
return Squirrel.ReleaseEntry

Install() public method

public Install ( bool silentInstall, ProgressSource progressSource, string ourAppName, string sourceDirectory ) : Task
silentInstall bool
progressSource ProgressSource
ourAppName string
sourceDirectory string
return Task

Main() public static method

public static Main ( string args ) : int
args string
return int

ProcessStart() public method

public ProcessStart ( string exeName, string arguments, bool shouldWait ) : void
exeName string
arguments string
shouldWait bool
return void

Releasify() public method

public Releasify ( string package, string targetDir = null, string packagesDir = null, string bootstrapperExe = null, string backgroundGif = null, string signingOpts = null, string baseUrl = null, string setupIcon = null, bool generateMsi = true ) : void
package string
targetDir string
packagesDir string
bootstrapperExe string
backgroundGif string
signingOpts string
baseUrl string
setupIcon string
generateMsi bool
return void

Shortcut() public method

public Shortcut ( string exeName, string shortcutArgs, string processStartArgs, string icon ) : void
exeName string
shortcutArgs string
processStartArgs string
icon string
return void

ShowHelp() public method

public ShowHelp ( ) : void
return void

Uninstall() public method

public Uninstall ( string appName, string location ) : Task
appName string
location string
return Task

Update() public method

public Update ( string updateUrl, string appName = null ) : Task
updateUrl string
appName string
return Task

UpdateSelf() public method

public UpdateSelf ( ) : Task
return Task