From 41dc0f82c167dd25ba4e90ae7c3acbde3992530e Mon Sep 17 00:00:00 2001 From: reger Date: Mon, 6 Jan 2014 07:22:23 +0100 Subject: [PATCH] open service manager upon install failure in installYaCyWindowsService.bat likely service is already installed Service Manager allows then to modify settings --- installYaCyWindowsService.bat | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/installYaCyWindowsService.bat b/installYaCyWindowsService.bat index 887342e91..38e701383 100644 --- a/installYaCyWindowsService.bat +++ b/installYaCyWindowsService.bat @@ -29,7 +29,11 @@ REM Install YaCy as Windows Service %exepath%\prunsrv.exe //IS//YaCy --Jvm=auto --StartMode=jvm --StartClass=net.yacy.yacy --Classpath=htroot;lib/yacycore.jar --StartPath=%~dp0 --JvmOptions=%javaopts% --Startup=auto --JvmMx=%jmx% --JvmMs=%jms% --StopMode=jvm --StopClass=net.yacy.yacy --StopParams=-shutdown --Description=%servicedesc% if not errorlevel 1 goto installed -echo Failed installing '%SERVICE_NAME%' service +Echo Failed installing YaCy service +Echo maybe it is already installed +Echo opening the service manager to edit the settings now. + +addon\windowsService\prunmgr.exe //ES//YaCy goto end :installed