w10install/optional/install-cyberjack.cmd
Michael H.G. Schmidt 2f79613ba8 bugfixes
2021-03-13 13:06:52 +01:00

28 lines
646 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 Reiner SCT 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