Install.bat:
@echo off
"%~dp0InstallUtil\InstallUtil.exe" "%~dp0DataSyncService.exe"
%SystemRoot%\system32\sc config DataSyncService start= auto
%SystemRoot%\system32\sc config DataSyncService type= interact type= own
Pause
View Code
StartService.bat:
@echo off
%SystemRoot%\system32\net start DataSyncService
pause
View Code
StopService.bat:
@echo off
%SystemRoot%\system32\net stop DataSyncService
pause
View Code
Uninstall.bat:
@echo off
"%~dp0InstallUtil\InstallUtil.exe" "%~dp0DataSyncService.exe" /u
pause
View Code