Prompt for elevation (#457)

* Prompt for elevation

* Add error messages for interop errors

* Assume process is elevated on Windows XP

Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
This commit is contained in:
Next Turn
2020-04-19 15:04:50 +08:00
committed by GitHub
parent a1d335bd60
commit b8888c9a29
7 changed files with 183 additions and 3 deletions

View File

@@ -49,6 +49,8 @@ Your renamed *WinSW.exe* binary also accepts the following commands:
* `Started` to indicate the service is currently running
* `Stopped` to indicate that the service is installed but not currently running.
Most commands require Administrator privileges to execute. Since v2.8, WinSW will prompt for UAC in non-elevated sessions.
## Documentation
User documentation: