Skip to main content

UpdateExe.Start Method

Declaring Type: UpdateExe
Namespace: Velopack
Assembly: Velopack
Assembly Version: 0.0.942+a011233

Runs Update.exe in the current working directory with the 'start' command which will simply start the application. Combined with the `waitForExit` parameter, this can be used to gracefully restart the application.

public static void Start(IVelopackLocator locator = null, bool waitForExit = true, string[] startArgs = null, ILogger logger = null);

Parameters

locator IVelopackLocator

The locator to use to find the path to Update.exe and the packages directory.

waitForExit bool

If true, Update.exe will wait for the current process to exit before re-starting the application.

startArgs string[]

The arguments to pass to the application when it is restarted.

logger ILogger

The logger to use for diagnostic messages


Documentation generated by MdDocs