anchor.diff:    echo %javaHomeError%
     goto:eof
   )
  +
  +rem Unescape javaPath
  +for /f "tokens=* delims=" %%P in (%javaPath%) do (
  +    set javaPath=%%P
  +)
  +
   set wrapperJarFilename=windows-service-wrapper-1.jar
   set command=""
   call:parseConfig "%~dp0..\%configFile%"
  
positive.code: set javaHomeKey=JavaHome
  
  FOR /F "usebackq skip=2 tokens=3,4" %%a IN (`REG QUERY "%javaCurrentKey%" /v %javaHomeKey% 2^>nul`) DO (
    set javaPath=%%a %%b
  )
  goto:eof
  
  
negative.code: rem function install
  rem
  :install
  set binPath="%javaPath%\bin\java.exe -DworkingDir=%~dps0.. -DconfigFile=%configFile% %classpath% %mainclass% -jar %~dps0%wrapperJarFilename% %serviceName%"
  sc create "%serviceName%" binPath= %binPath% DisplayName= "%serviceDisplayName%" start= %serviceStartType%
  call:start
  goto:eof
  
  