w10install/optional/install-cyberjack.cmd
Michael H.G. Schmidt da23305f21 bugfix
2021-03-13 00:44:33 +01:00

28 lines
653 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
)
echo ####### %0 #######
echo installing printer ReinerSCT Cyberjack ...
start /wait %EXE%
echo changing cyberjack startmenu folder ...
move /Y %STARTMENU%\"Reiner SCT cyberjack\cyberjack*.*" %STARTMENU%\CyberJack.lnk 2>nul
echo removing cyberjack startmenu folder ...
rd /S /Q %STARTMENU%\"Reiner SCT cyberjack" 2>nul
echo removing cyberjack desktop icon ...
del /F /Q %PUBLIC%\Desktop\cyberjack*.* 2>nul
echo ####### %0 #######
pause