diff --git a/scripts/config/install-purebasic.txt b/scripts/config/install-purebasic.txt new file mode 100644 index 0000000..7d88179 --- /dev/null +++ b/scripts/config/install-purebasic.txt @@ -0,0 +1,8 @@ +[Setup] +Lang=default +Dir=C:\Program Files\PureBasic +Group=PureBasic +NoIcons=0 +SetupType=custom +Components=main,english +Tasks= diff --git a/scripts/install-purebasic.cmd b/scripts/install-purebasic.cmd index 007a659..c021cc6 100644 --- a/scripts/install-purebasic.cmd +++ b/scripts/install-purebasic.cmd @@ -1,5 +1,6 @@ @echo off +set CONFIG=config\install-purebasic.txt set EXE=..\software\PureBasic_Windows_X64_LTS_5.73.exe echo ####### %0 ####### @@ -9,7 +10,7 @@ taskkill /F /IM PureBasic.exe taskkill /F /IM pbcompiler.exe echo installing PUREBASIC ... -%EXE% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS +%EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS echo ####### %0 ####### diff --git a/scripts/uninstall-edge.cmd b/scripts/uninstall-edge.cmd index 2ef3e01..5edfc8c 100644 --- a/scripts/uninstall-edge.cmd +++ b/scripts/uninstall-edge.cmd @@ -9,10 +9,12 @@ echo ####### %0 ####### %EDGEROOT%\%INSTALLER%\setup.exe --uninstall --system-level --verbose-logging --force-uninstall echo cleanup ... -rd /S /Q %EDGEROOT% 1>nul 2>nul -rd /S /Q %EDGEUPDATE% 1>nul 2>nul -del /F "%PUBLIC%\Desktop\Microsoft Edge.lnk" 1>nul 2>nul -del /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" 1>nul 2>nul +rd /S /Q %EDGEROOT% 2>nul +rd /S /Q %EDGEUPDATE% 2>nul +del /F "%PUBLIC%\Desktop\Microsoft Edge.lnk" 2>nul +del /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" 2>nul +del /F "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" 2>nul +del /F "%USERPROFILE%\Desktop\Microsoft Edge.lnk" 2>nul echo block edge updates ... reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate" ^