bugfixes in optional scripts
This commit is contained in:
parent
649645c696
commit
aa9c357850
@ -10,11 +10,14 @@ if NOT EXIST %EXE% (
|
|||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
echo installing F-Secure Anti-Virus ...
|
echo installing F-Secure Anti-Virus ...
|
||||||
%EXE% --silent
|
start /wait %EXE%
|
||||||
|
|
||||||
echo removing F-Secure desktop link ...
|
echo removing F-Secure desktop link ...
|
||||||
del /F "%PUBLIC%\Desktop\F-Secure Anti-Virus.lnk" 2>nul
|
del /F "%PUBLIC%\Desktop\F-Secure Anti-Virus.lnk" 2>nul
|
||||||
|
|
||||||
|
rem refresh desktop (W10 style)
|
||||||
|
ie4uinit.exe -show
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
pause
|
pause
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set SCRIPTS=..\scripts
|
set OPT=..\optional
|
||||||
set SOFTWARE=..\software
|
set SOFTWARE=..\software
|
||||||
set MSI=dbbrowser-setup.msi
|
set MSI=dbbrowser-setup.msi
|
||||||
|
|
||||||
@ -15,11 +15,13 @@ cd %SOFTWARE%
|
|||||||
@echo on
|
@echo on
|
||||||
msiexec /i %MSI% /passive
|
msiexec /i %MSI% /passive
|
||||||
@echo off
|
@echo off
|
||||||
cd %SCRIPTS%
|
cd %OPT%
|
||||||
|
|
||||||
rem copy link to desktop ...
|
rem copy link to desktop ...
|
||||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\DB Browser*" ^
|
copy /Y "%SCRIPTS%\links\SQLite-DBB.lnk" %PUBLIC%\Desktop
|
||||||
%PUBLIC%\Desktop\DB-Browser.lnk
|
|
||||||
|
rem refresh desktop (W10 style)
|
||||||
|
ie4uinit.exe -show
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
pause
|
pause
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set SCRIPTS=..\scripts
|
set OPT=..\optional
|
||||||
set SOFTWARE=..\software
|
set SOFTWARE=..\software
|
||||||
set MSI=emclient-setup.msi
|
set MSI=emclient-setup.msi
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ cd %SOFTWARE%
|
|||||||
@echo on
|
@echo on
|
||||||
msiexec /i %MSI% /quiet
|
msiexec /i %MSI% /quiet
|
||||||
@echo off
|
@echo off
|
||||||
cd %SCRIPTS%
|
cd %OPT%
|
||||||
|
|
||||||
rem copy link to desktop ...
|
rem copy link to desktop ...
|
||||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\eM Client.lnk" ^
|
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\eM Client.lnk" ^
|
||||||
@ -27,6 +27,9 @@ reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" ^
|
|||||||
|
|
||||||
taskkill /F /IM SystemSettings.exe 2>nul
|
taskkill /F /IM SystemSettings.exe 2>nul
|
||||||
|
|
||||||
|
rem refresh desktop (W10 style)
|
||||||
|
ie4uinit.exe -show
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
pause
|
pause
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set SCRIPTS=..\scripts
|
set OPT=..\optional
|
||||||
set SOFTWARE=..\software
|
set SOFTWARE=..\software
|
||||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||||
set MSI=gsync-setup.msi
|
set MSI=gsync-setup.msi
|
||||||
@ -16,7 +16,7 @@ cd %SOFTWARE%
|
|||||||
@echo on
|
@echo on
|
||||||
msiexec /i %MSI% /qn
|
msiexec /i %MSI% /qn
|
||||||
@echo off
|
@echo off
|
||||||
cd %SCRIPTS%
|
cd %OPT%
|
||||||
|
|
||||||
echo changing startmenu folder ...
|
echo changing startmenu folder ...
|
||||||
move /Y %STARTMENU%\"Backup and Sync from Google\Backup and Sync from Google.lnk" ^
|
move /Y %STARTMENU%\"Backup and Sync from Google\Backup and Sync from Google.lnk" ^
|
||||||
|
@ -24,7 +24,8 @@ if EXIST %EXE% (
|
|||||||
del /F /Q /A %PUBLIC%\Desktop\PureBasic*.lnk 2>nul
|
del /F /Q /A %PUBLIC%\Desktop\PureBasic*.lnk 2>nul
|
||||||
|
|
||||||
echo installing purebasic ...
|
echo installing purebasic ...
|
||||||
%EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL ^
|
||||||
|
/SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||||
goto LINK
|
goto LINK
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -38,7 +39,8 @@ if EXIST %ZIP% (
|
|||||||
move /Y %T%\purebasic\PureBasic*.exe %T%\purebasic\purebasic-setup.exe
|
move /Y %T%\purebasic\PureBasic*.exe %T%\purebasic\purebasic-setup.exe
|
||||||
|
|
||||||
echo installing purebasic ...
|
echo installing purebasic ...
|
||||||
%T%\purebasic\purebasic-setup.exe /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
start /wait %T%\purebasic\purebasic-setup.exe ^
|
||||||
|
/LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||||
|
|
||||||
echo cleanup ...
|
echo cleanup ...
|
||||||
rd /S /Q %T%\purebasic 2>nul
|
rd /S /Q %T%\purebasic 2>nul
|
||||||
@ -46,10 +48,16 @@ if EXIST %ZIP% (
|
|||||||
)
|
)
|
||||||
|
|
||||||
:LINK
|
:LINK
|
||||||
|
rem remove personal link ...
|
||||||
|
del /F /Q /A %USERPROFILE%\Desktop\PureBasic*.lnk 2>nul
|
||||||
|
|
||||||
echo copy new PureBasic link to desktop ...
|
echo copy new PureBasic link to desktop ...
|
||||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\PureBasic\PureBasic (x64).lnk" ^
|
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\PureBasic\PureBasic (x64).lnk" ^
|
||||||
%PUBLIC%\Desktop\PureBasic.lnk
|
%PUBLIC%\Desktop\PureBasic.lnk
|
||||||
|
|
||||||
|
rem refresh desktop (W10 style)
|
||||||
|
ie4uinit.exe -show
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
:END
|
:END
|
||||||
pause
|
pause
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set SCRIPTS=..\scripts
|
set OPT=..\optional
|
||||||
set SOFTWARE=..\software
|
set SOFTWARE=..\software
|
||||||
set MSI=python-setup.msi
|
set MSI=python2-setup.msi
|
||||||
|
|
||||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||||
@ -15,6 +15,6 @@ cd %SOFTWARE%
|
|||||||
@echo on
|
@echo on
|
||||||
msiexec /i %MSI% /passive
|
msiexec /i %MSI% /passive
|
||||||
@echo off
|
@echo off
|
||||||
cd %SCRIPTS%
|
cd %OPT%
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
@ -10,7 +10,7 @@ if NOT EXIST %EXE% (
|
|||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
echo installing Citrix Receiver LTS ...
|
echo installing Citrix Receiver LTS ...
|
||||||
%EXE% /silent /noreboot
|
start /wait %EXE% /silent /noreboot
|
||||||
|
|
||||||
echo disabling autostart for Citrix Receiver ...
|
echo disabling autostart for Citrix Receiver ...
|
||||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run32" ^
|
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run32" ^
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set SCRIPTS=..\scripts
|
set OPT=..\optional
|
||||||
set SOFTWARE=..\software
|
set SOFTWARE=..\software
|
||||||
set MSI=softmaker-setup.msi
|
set MSI=softmaker-setup.msi
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ msiexec /i %MSI% /qb APPLICATIONFOLDER="c:\Program Files\Softmaker Office 2021"
|
|||||||
INSTALLTM=1 INSTALLPM=1 INSTALLPR=1 INSTALLTB1=0 INSTALLTB2=0 /l*v c:\temp\softmaker.log
|
INSTALLTM=1 INSTALLPM=1 INSTALLPR=1 INSTALLTB1=0 INSTALLTB2=0 /l*v c:\temp\softmaker.log
|
||||||
@echo off
|
@echo off
|
||||||
del /F c:\temp\softmaker.log
|
del /F c:\temp\softmaker.log
|
||||||
cd %SCRIPTS%
|
cd %OPT%
|
||||||
|
|
||||||
echo installing desktop icons ...
|
echo installing desktop icons ...
|
||||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\PlanMaker 2021.lnk" ^
|
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\PlanMaker 2021.lnk" ^
|
||||||
@ -27,6 +27,9 @@ copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 20
|
|||||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\TextMaker 2021.lnk" ^
|
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\TextMaker 2021.lnk" ^
|
||||||
%PUBLIC%\Desktop\Textmaker.lnk
|
%PUBLIC%\Desktop\Textmaker.lnk
|
||||||
|
|
||||||
|
rem refresh desktop (W10 style)
|
||||||
|
ie4uinit.exe -show
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
pause
|
pause
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ echo ####### %0 #######
|
|||||||
echo installing Spotify for user %USERNAME% ...
|
echo installing Spotify for user %USERNAME% ...
|
||||||
%EXE%
|
%EXE%
|
||||||
|
|
||||||
|
rem refresh desktop (W10 style)
|
||||||
|
ie4uinit.exe -show
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
pause
|
pause
|
||||||
|
|
||||||
|
@ -10,12 +10,14 @@ if NOT EXIST %EXE% (
|
|||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
echo installing Microsoft Teams ...
|
echo installing Microsoft Teams ...
|
||||||
%EXE% -s
|
start /wait %EXE% -s
|
||||||
timeout /T 10
|
|
||||||
|
|
||||||
echo renaming and moving Teams desktop link ...
|
echo renaming and moving Teams desktop link ...
|
||||||
move /Y "%USERPROFILE%\Desktop\Microsoft Teams.lnk" "%PUBLIC%\Desktop\Teams.lnk"
|
move /Y "%USERPROFILE%\Desktop\Microsoft Teams.lnk" "%PUBLIC%\Desktop\Teams.lnk"
|
||||||
|
|
||||||
|
rem refresh desktop (W10 style)
|
||||||
|
ie4uinit.exe -show
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
pause
|
pause
|
||||||
|
|
||||||
|
@ -10,13 +10,13 @@ if NOT EXIST %EXE% (
|
|||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
echo installing TotalCommander ...
|
echo installing TotalCommander ...
|
||||||
%EXE% /AHMGDU
|
start /wait %EXE% /AHMGDU
|
||||||
|
|
||||||
rem this runs in the background - we have to wait 10 seconds for it to complete ...
|
|
||||||
timeout /T 10
|
|
||||||
|
|
||||||
echo renaming and moving TotalCommander desktop link ...
|
echo renaming and moving TotalCommander desktop link ...
|
||||||
move /Y "%USERPROFILE%\Desktop\Total Commander*" "%PUBLIC%\Desktop\Total Commander.lnk"
|
move /Y "%USERPROFILE%\Desktop\Total Commander*" "%PUBLIC%\Desktop\TCM.lnk"
|
||||||
|
|
||||||
|
rem refresh desktop (W10 style)
|
||||||
|
ie4uinit.exe -show
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
pause
|
pause
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
set CONFIG=config\install-vscode.txt
|
set CONFIG=config\install-vscode.txt
|
||||||
set EXE=..\software\vscode-setup.exe
|
set EXE=..\software\vscode-setup.exe
|
||||||
|
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||||
|
|
||||||
if NOT EXIST %EXE% (
|
if NOT EXIST %EXE% (
|
||||||
echo ERROR: %EXE% not found!
|
echo ERROR: %EXE% not found!
|
||||||
@ -10,11 +11,25 @@ if NOT EXIST %EXE% (
|
|||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
echo killing ssh processes...
|
echo killing VisualStudio code processes...
|
||||||
taskkill /F /IM Code.exe 2>nul
|
taskkill /F /IM Code.exe 2>nul
|
||||||
|
|
||||||
|
echo cleanup ...
|
||||||
|
del /F "%PUBLIC%\Desktop\VScode.lnk" 2>nul
|
||||||
|
|
||||||
echo installing Visual Studio CODE ...
|
echo installing Visual Studio CODE ...
|
||||||
%EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
rem start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||||
|
|
||||||
|
echo installing Desktop shortcut ...
|
||||||
|
@echo on
|
||||||
|
copy /Y %STARTMENU%\"Visual Studio Code\Visual*.lnk" "%PUBLIC%\Desktop"
|
||||||
|
move /Y "%PUBLIC%\Desktop\Visual*.lnk" "%PUBLIC%\Desktop\VScode.lnk"
|
||||||
|
|
||||||
|
rem refresh desktop (W10 style)
|
||||||
|
ie4uinit.exe -show
|
||||||
|
|
||||||
|
echo killing VisualStudio code processes...
|
||||||
|
taskkill /F /IM Code.exe 2>nul
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
pause
|
pause
|
||||||
|
@ -14,11 +14,14 @@ echo killing XnView processes...
|
|||||||
taskkill /F /IM xnviewmp.exe 2>nul
|
taskkill /F /IM xnviewmp.exe 2>nul
|
||||||
|
|
||||||
echo installing XnView ...
|
echo installing XnView ...
|
||||||
%EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||||
|
|
||||||
echo renaming and moving XnView desktop link ...
|
echo renaming and moving XnView desktop link ...
|
||||||
move /Y "%USERPROFILE%\Desktop\XnViewMP.lnk" "%PUBLIC%\Desktop"
|
move /Y "%USERPROFILE%\Desktop\XnViewMP.lnk" "%PUBLIC%\Desktop"
|
||||||
|
|
||||||
|
rem refresh desktop (W10 style)
|
||||||
|
ie4uinit.exe -show
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
pause
|
pause
|
||||||
|
|
||||||
|
@ -5,9 +5,15 @@ rem most of this was took from:
|
|||||||
rem https://forum.level1techs.com/t/take-back-your-windows-10-privacy/143097/2
|
rem https://forum.level1techs.com/t/take-back-your-windows-10-privacy/143097/2
|
||||||
rem THANKS!
|
rem THANKS!
|
||||||
|
|
||||||
|
echo.
|
||||||
echo WARNING: executing this script may cripple some important functions in windows!
|
echo WARNING: executing this script may cripple some important functions in windows!
|
||||||
echo especially the store app will not work anymore - and it will be removed by this script!
|
echo especially the store app will not work anymore - and it will be removed by this script!
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo WARNING: system will be REBOOTED after modify!
|
||||||
|
echo SAVE YOUR WORK AND COME BACK!
|
||||||
|
echo.
|
||||||
|
|
||||||
set answer=
|
set answer=
|
||||||
:ask
|
:ask
|
||||||
set /p answer="REALLY remove all Microsoft telemetry (Y/N)? "
|
set /p answer="REALLY remove all Microsoft telemetry (Y/N)? "
|
||||||
@ -201,4 +207,5 @@ powershell -Command ./uninstall-store.ps1
|
|||||||
echo.
|
echo.
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
pause
|
pause
|
||||||
|
shutdown -g -t 0
|
||||||
|
|
||||||
|
BIN
scripts/links/SQLite-DBB.lnk
Normal file
BIN
scripts/links/SQLite-DBB.lnk
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user