Mention boolean elements

pull/608/head
NextTurn 2020-07-29 00:00:00 +08:00
parent 2a5db3d7bb
commit 1ac8fe1d4c
No known key found for this signature in database
GPG Key ID: 17A0D50ADDE1A0C4
2 changed files with 9 additions and 2 deletions

View File

@ -16,3 +16,6 @@ TODO
- Consider removing `<username>` and `<password>` from config file and using `<prompt>` in interactive context, or `--username` and `--password` command-line options in non-interactive context.
1. Remove `<waithint>`.
1. Remove `<sleeptime>`.
1. Replace `<delayedAutoStart />` with `<delayedAutoStart>true</delayedAutoStart>`.
1. Replace `<interactive />` with `<interactive>true</interactive>`.
1. Replace `<beeponshutdown />` with `<beeponshutdown>true</beeponshutdown>`.

View File

@ -72,7 +72,7 @@ Please note that this startup mode will not take affect on old Windows versions
Windows service installation may fail in such case.
```xml
<delayedAutoStart/>
<delayedAutoStart>true</delayedAutoStart>
```
### depend
@ -172,7 +172,7 @@ If this optional element is specified, the service will be allowed to interact w
If your program requires GUI, set this like the following:
```xml
<interactive />
<interactive>true</interactive>
```
Note that since the introduction UAC (Windows Vista and onward), services are no longer really allowed to interact with the desktop.
@ -183,6 +183,10 @@ In those OSes, all that this does is to allow the user to switch to a separate w
This optional element is to emit [simple tones](https://docs.microsoft.com/windows/win32/api/utilapiset/nf-utilapiset-beep) when the service shuts down.
This feature should be used only for debugging, as some operating systems and hardware do not support this functionality.
```xml
<beeponshutdown>true</beeponshutdown>
```
### download
This optional element can be specified multiple times to have the service wrapper retrieve resources from URL and place it locally as a file.