@echo "this service app must be run in the directory c:\windows\system32"
%~d0
cd %~dp0

@copy HingeAngleService.exe c:\windows\system32\
@cd /d c:\windows\system32

@HingeAngleService.exe -install

@
@rem check the service, press any key to exit
@pause