echo /debug : run the service install in debug mode
echo(
echo /properties ^<path^> : Path of the properties file to use
echo default none
echo(
echo /environment ^<env^> : List of environment variables that will be provided to the service in the form key=value. They are separated using either # or ; characters. If you need to embed either # or ; character within a value put them inside single quotes.
echo default none
echo(
echo Other commands:
echo(
echo service uninstall [/name ^<servicename^>]
@@ -456,6 +464,38 @@ if /I "%~1"== "/logpath" (
shift
goto LoopArgs
)
if /I "%~1"=="/properties" (
setPROPSPATH=
ifnot"%~2"=="" (
setT=%~2
ifnot"!T:~0,1!"=="/" (
setPROPSPATH=%~2
)
)
if"!PROPSPATH!"=="" (
echo ERROR: You need to specify a path for the properties file
goto endBatch
)
shift
shift
goto LoopArgs
)
if /I "%~1"=="/environment" (
setENV_VARS=
ifnot"%~2"=="" (
setT=%~2
ifnot"!T:~0,1!"=="/" (
setENV_VARS=%~2
)
)
if"!ENV_VARS!"=="" (
echo ERROR: You need to specify a list of environment variables
goto endBatch
)
shift
shift
goto LoopArgs
)
echo ERROR: Unrecognised option: %1
echo(
goto cmdUsage
@@ -497,7 +537,12 @@ if /I "%IS_DOMAIN%" == "true" (