13 lines
408 B
Batchfile
13 lines
408 B
Batchfile
@echo off
|
|
setlocal
|
|
set EXE=%~dp0bin\Debug\HanvonF710XAttendanceService.exe
|
|
if not exist "%EXE%" set EXE=%~dp0bin\Release\HanvonF710XAttendanceService.exe
|
|
if not exist "%EXE%" (
|
|
echo Build the project first. EXE not found.
|
|
exit /b 1
|
|
)
|
|
set INSTALLUTIL=%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe
|
|
echo Installing Hanvon F710X Attendance Service from %EXE%
|
|
"%INSTALLUTIL%" "%EXE%"
|
|
endlocal
|