w10install/scripts/install-purebasic.cmd
Michael H.G. Schmidt 2f8015aa6e .
2021-01-30 21:38:46 +01:00

20 lines
495 B
Batchfile

@echo off
set CONFIG=config\install-purebasic.txt
set EXE=..\software\PureBasic_Windows_X64_LTS_5.73.exe
echo ####### %0 #######
echo killing ssh processes...
taskkill /F /IM PureBasic.exe 2>nul
taskkill /F /IM pbcompiler.exe 2>nul
echo installing PUREBASIC ...
%EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
rem extend global PATH variable ...
setx PATH "%PATH%;%ProgramFiles%\PureBasic\Compilers" /M
echo ####### %0 #######