Use the configured _REALPATH variable to execute wrapper.exe so that it can be run either in console or from double click in explorer.  Tested on Windows 7 x64

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1502244 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2013-07-11 15:19:45 +00:00
parent 74ba0529d2
commit 25028b0bba
4 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ rem
rem Install the Wrapper as an NT service.
rem
:startup
"wrapper.exe" -i %_WRAPPER_CONF% %_ACTIVEMQ_HOME% %_ACTIVEMQ_BASE%
"%_REALPATH%wrapper.exe" -i %_WRAPPER_CONF% %_ACTIVEMQ_HOME% %_ACTIVEMQ_BASE%
if not errorlevel 1 goto :eof
pause

View File

@ -42,7 +42,7 @@ rem
rem Uninstall the Wrapper as an NT service.
rem
:startup
"%_APP_HOME%wrapper.exe" -r %_WRAPPER_CONF%
"%_REALPATH%wrapper.exe" -r %_WRAPPER_CONF%
if not errorlevel 1 goto :eof
pause

View File

@ -46,7 +46,7 @@ rem
rem Install the Wrapper as an NT service.
rem
:startup
"wrapper.exe" -i %_WRAPPER_CONF% %_ACTIVEMQ_HOME% %_ACTIVEMQ_BASE%
"%_REALPATH%wrapper.exe" -i %_WRAPPER_CONF% %_ACTIVEMQ_HOME% %_ACTIVEMQ_BASE%
if not errorlevel 1 goto :eof
pause

View File

@ -42,7 +42,7 @@ rem
rem Uninstall the Wrapper as an NT service.
rem
:startup
"%_APP_HOME%wrapper.exe" -r %_WRAPPER_CONF%
"%_REALPATH%wrapper.exe" -r %_WRAPPER_CONF%
if not errorlevel 1 goto :eof
pause