w10install/drivers/install-cyberjack.cmd
Michael H.G. Schmidt 7949bda474 reorg to drivers dir
2022-05-31 22:58:13 +02:00

31 lines
692 B
Batchfile

@echo off
set EXE=..\software\cyberjack-setup.exe
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
if EXIST "%ProgramFiles(x86)%\REINER SCT\cyberJack\cJCC.exe" (
echo ERROR: Reiner SCT Cyberjack already installed!
exit /b
)
echo ####### %0 #######
echo installing Reiner SCT Cyberjack ...
start /wait %EXE%
echo removing CyberJack startmenu folder ...
rd /S /Q %STARTMENU%\"REINER SCT cyberjack" 2>nul
echo renaming CyberJack desktop shortcut ...
copy /Y startmenu\CyberJack.lnk %STARTMENU%
del /F %PUBLIC%\"Desktop\cyberjack*.*" 2>nul
echo ####### %0 #######
pause