This commit is contained in:
Michael H.G. Schmidt 2021-01-10 16:42:07 +01:00
parent ea7299c60e
commit 03aca37e7d
10 changed files with 42 additions and 64 deletions

View File

@ -1,8 +1,6 @@
@echo off
set T=c:\TEMP
set TOOLS=c:\tools
mkdir %USERPROFILE%\workspace 1>nul 2>nul
mkdir %USERPROFILE%\.ssh 1>nul 2>nul
echo ####### %0 #######
@ -25,7 +23,7 @@ rd /S /Q %TOOLS%
echo copying folder tools to %TOOLS% ...
robocopy tools %TOOLS% /MIR /256 /NJH /NFL /NDL
rem chdir to scripts folder ...
rem cd to scripts folder ...
cd scripts
echo unpacking BGInfo ...
@ -61,6 +59,14 @@ reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Env
/d "%TOOLS%\usr\bin\ssh.exe" ^
/f
rem copy files in deploy folder to tools directory ...
copy /Y deploy\* %TOOLS%
rem create directories for current user ...
mkdir %USERPROFILE%\workspace 1>nul 2>nul
mkdir %USERPROFILE%\.ssh 1>nul 2>nul
copy /Y %TOOLS%\ssh_config %USERPROFILE%\.ssh\config
rem installing startup links ...
call install-logonscript.cmd

Binary file not shown.

View File

@ -1,21 +1,11 @@
@echo off
set T=c:\TEMP
mkdir %T% 1>nul 2>nul
cd /D %T%
set EXE=F-SecureNetworkInstaller-AV_AVTR20F930_.exe
set URL="ftp://w10install:9054c6cf-c54c@exabyte-systems.com/software/%EXE%"
set EXE=..\software\F-SecureNetworkInstaller-AV_AVTR20F930_.exe
echo ####### %0 #######
echo download ...
curl --ftp-pasv %URL% --output %EXE%
echo installing F-Secure Antivirus ...
%EXE% --silent
rem cleanup ...
del /Q %EXE% 1>nul 2>nul
echo ####### %0 #######

View File

@ -1,6 +1,6 @@
@echo off
set SOURCE=desktopicons
set SOURCE=icons
set TARGET=c:\Users\Public\Desktop
echo ####### %0 #######

View File

@ -1,34 +1,31 @@
@echo off
set T=c:\TEMP
mkdir %T% 1>nul 2>nul
cd /D %T%
set CONF=c:\scripts\conf
set URL="ftp://w10install:9054c6cf-c54c@exabyte-systems.com/software/firefox"
set CONF=deploy\firefox
set SCRIPTS=..\..\scripts
set SOFTWARE=..\software\firefox
set MSI=Firefox_Setup_83.0b9.msi
set FIREFOXBASE="C:\Program Files\Mozilla Firefox"
set BADGERFILE=privacy_badger-2020.12.10.xpi
set BADGERFILE=%SOFTWARE%\privacy_badger-2020.12.10.xpi
set BADGERTARGET=jid1-MnnxcxisBPnSXQ@jetpack.xpi
set UBLOCKFILE=ublock_origin-1.32.0.xpi
set UBLOCKFILE=%SOFTWARE%\ublock_origin-1.32.0.xpi
set UBLOCKTARGET=uBlock0@raymondhill.net.xpi
set PASSWORD1FILE=1password-1.22.3.xpi
set PASSWORD1FILE=%SOFTWARE%\1password-1.22.3.xpi
set PASSWORD1TARGET={d634138d-c276-4fc8-924b-40a0ea21d284}.xpi
set BITWARDENFILE=bitwarden-1.47.1.xpi
set BITWARDENFILE=%SOFTWARE%\bitwarden-1.47.1.xpi
set BITWARDENTARGET={446900e4-71c2-419f-a6a7-df9c091e268b}.xpi
echo ####### %0 #######
echo download ...
curl --ftp-pasv %URL%/%MSI% --output %MSI%
cd %SOFTWARE%
@echo on
msiexec /i %MSI% /passive
@echo off
cd %SCRIPTS%
rem copy config ...
copy /Y %CONF%\local-settings.js %FIREFOXBASE%\defaults\pref
@ -49,34 +46,19 @@ reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox" ^
/f
echo creating extensions directory ...
mkdir %FIREFOXBASE%\distribution\extensions
echo download ...
curl --ftp-pasv %URL%/%BADGERFILE% --output %BADGERFILE%
mkdir %FIREFOXBASE%\distribution\extensions 1>nul 2>nul
echo installing badger(eff) to fight internet bullshit ...
move /Y %BADGERFILE% %FIREFOXBASE%\distribution\extensions\%BADGERTARGET%
echo download ...
curl --ftp-pasv %URL%/%UBLOCKFILE% --output %UBLOCKFILE%
copy /Y %BADGERFILE% %FIREFOXBASE%\distribution\extensions\%BADGERTARGET%
echo installing uBlock to fight even more internet bullshit ...
move /Y %UBLOCKFILE% %FIREFOXBASE%\distribution\extensions\%UBLOCKTARGET%
echo download ...
curl --ftp-pasv %URL%/%PASSWORD1FILE% --output %PASSWORD1FILE%
copy /Y %UBLOCKFILE% %FIREFOXBASE%\distribution\extensions\%UBLOCKTARGET%
echo installing 1Password plugin ...
move /Y %PASSWORD1FILE% %FIREFOXBASE%\distribution\extensions\%PASSWORD1TARGET%
echo download ...
curl --ftp-pasv %URL%/%BITWARDENFILE% --output %BITWARDENFILE%
copy /Y %PASSWORD1FILE% %FIREFOXBASE%\distribution\extensions\%PASSWORD1TARGET%
echo installing Bitwarden plugin ...
move /Y %BITWARDENFILE% %FIREFOXBASE%\distribution\extensions\%BITWARDENTARGET%
rem cleanup ...
del /Q %MSI% 1>nul 2>nul
copy /Y %BITWARDENFILE% %FIREFOXBASE%\distribution\extensions\%BITWARDENTARGET%
echo ####### %0 #######

View File

@ -1,7 +1,4 @@
@echo off
set T=c:\TEMP
mkdir %T% 1>nul 2>nul
cd /D %T%
set CONFIG=install-git.txt
set EXE=..\software\Git-2.29.0-64-bit.exe

View File

@ -1,13 +1,20 @@
@echo off
set SOURCE=deploy/logon.cmd
set TOOLS=c:\tools
set TARGET="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Startup"
echo ####### %0 #######
echo create link for logon script...
rem cleanup ...
del /Q /F %TARGET%\logon* 1>nul 2>nul
mklink %TARGET%\logon.cmd %SOURCE%
del /Q /F %TOOLS%\logon.cmd 1>nul 2>nul
echo copy logon.cmd to %TOOLS% ...
copy /Y %SOURCE% %TOOLS%
echo create link for logon script...
mklink %TARGET%\logon.cmd %TOOLS%\logon.cmd
echo create link on desktop...
del /Q /F "%USERPROFILE%\Desktop\Autostart*" 1>nul 2>nul

View File

@ -1,17 +1,14 @@
@echo off
set T=c:\TEMP
mkdir %T% 1>nul 2>nul
cd /D %T%
set SCRIPTS=..\scripts
set SOFTWARE=..\software
set EXE=OpenShellSetup_4_4_160.exe
set MSI=OpenShellSetup64_4_4_160.msi
set URL="ftp://w10install:9054c6cf-c54c@exabyte-systems.com/software/%EXE%"
echo ####### %0 #######
echo download ...
curl --ftp-pasv %URL% --output %EXE%
cd %SOFTWARE%
@echo on
%EXE% extract64
msiexec /i %MSI% ADDLOCAL=StartMenu,ClassicExplorer /passive
@ -19,7 +16,7 @@ msiexec /i %MSI% ADDLOCAL=StartMenu,ClassicExplorer /passive
rem cleanup ...
del /Q %MSI% 1>nul 2>nul
del /Q %EXE% 1>nul 2>nul
cd %SCRIPTS
echo ####### %0 #######

View File

@ -1,5 +1,5 @@
@echo off
set TARGET=c:\scripts\tweaks
set TARGET=tweaks
echo ####### %0 #######

View File

@ -1,12 +1,11 @@
@echo off
set EDGEROOT="C:\Program Files (x86)\Microsoft\Edge"
set INSTALLER=Application\8*\Installer
echo ####### %0 #######
cd /D C:\
cd %EDGEROOT%\Application\8*\Installer
setup.exe --uninstall --system-level --verbose-logging --force-uninstall
%EDGEROOT%\%INSTALLER%\setup.exe --uninstall --system-level --verbose-logging --force-uninstall
rd /S /Q %EDGEROOT%
echo ####### %0 #######