w10install/optional/install-cyberjack.cmd

28 lines
653 B
Batchfile
Raw Normal View History

2021-03-13 00:30:15 +01:00
@echo off
set EXE=..\software\cyberjack-setup.exe
2021-03-13 00:40:26 +01:00
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
2021-03-13 00:30:15 +01:00
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
echo ####### %0 #######
echo installing printer ReinerSCT Cyberjack ...
2021-03-13 00:40:26 +01:00
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 ...
2021-03-13 00:44:33 +01:00
rd /S /Q %STARTMENU%\"Reiner SCT cyberjack" 2>nul
echo removing cyberjack desktop icon ...
del /F /Q %PUBLIC%\Desktop\cyberjack*.* 2>nul
2021-03-13 00:30:15 +01:00
echo ####### %0 #######
pause
2021-03-13 00:40:26 +01:00