w10install/optional/install-cyberjack.cmd
Michael H.G. Schmidt 6e63419124 added Inkscape
2021-04-25 20:28:50 +02:00

28 lines
644 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 moving CyberJack startmenu shortcut ...
move /Y %STARTMENU%\"Reiner SCT cyberjack\cyberjack*.*" %STARTMENU%\CyberJack.lnk
echo removing CyberJack startmenu folder ...
rd /S /Q %STARTMENU%\"Reiner SCT cyberjack" 2>nul
echo removing CyberJack desktop shortcut ...
del /F /Q %PUBLIC%\Desktop\cyberjack*.* 2>nul
echo ####### %0 #######
pause