w10install/optional/install-purebasic.cmd
Michael H.G. Schmidt f48ed62dc2 .
2021-03-02 21:47:42 +01:00

22 lines
543 B
Batchfile

@echo off
set CONFIG=config\install-purebasic.txt
set EXE=..\software\purebasic-setup.exe
echo ####### %0 #######
echo killing PureBasic 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 copy link to desktop ...
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\PureBasic\PureBasic (x64).lnk" ^
%PUBLIC%\Desktop
echo ####### %0 #######
pause