yacy_search_server/uninstallYaCyWindowsService.bat
reger 7bdc10c1a0 added Windows Service installer
- used Apache procrun as it has a small footprint and comes with a GUI to edit the service settings
  see http://commons.apache.org/proper/commons-daemon/procrun.html

- added the service runner exe file under addon/windowsService
   as is (without renaming the exe files)
- included installYaCyWindowsService.bat and uninstallYaCyWindowsService.bat to main directory
  - which chooses the native exe according to the processor_architecture
2013-12-26 05:07:26 +01:00

14 lines
400 B
Batchfile

@Echo Off
title YaCy Windows Service UnInstall
Rem choose service runner executable according to processor architecture
set exepath=addon\windowsService
if /I "%PROCESSOR_ARCHITECTURE%"=="AMD64" set exepath=addon\windowsService\amd64
if /I "%PROCESSOR_ARCHITECTURE%"=="IA64" set exepath=addon\windowsService\ia64
REM UnInstall YaCy Windows Service
%exepath%\prunsrv.exe //DS//YaCy