Skip to content

stuartclennett/updater-console

Repository files navigation

updater-console

Console application to update and restart a Windows App or a Windows Service App.

Takes following command line params:

1: FileName of running instance to update

2: Filename of the new executable

3: Flags (see below)

Pass in the same filename for both running instance and new executable and the app will just be restarted (flags permitting) without renaming any files.

Flags

-s = Target is a windows service (service will be stopped and restarted. Requires admin privileges)

-n = do not restart (just replaces the file)

-sn:{name} = The Service Name to restart. E.g -sn:AquilaServer

-p:{param} = Passthru, passes "param" to the restart of the new app. E.g. -p:-u -p:/Z will pass "-u /Z" to the new app as the command line arguments

About

Console app to update a running exe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages