restructured

This commit is contained in:
Michael H.G. Schmidt 2021-02-27 20:07:28 +01:00
parent fe614dc574
commit 2a6e6dee1c
24 changed files with 110 additions and 75 deletions

View File

@ -2,9 +2,7 @@
rem this script puts everything in place ... rem this script puts everything in place ...
set TOOLS=c:\tools set TOOLS=c:\tools
set SOFTWARE=%TOOLS%\software set BATCH=%TOOLS%\scripts\\autoconfig-all.cmd
set SCRIPTS=%TOOLS%\scripts
set BATCH=%SCRIPTS%\autoconfig-all.cmd
set LOG=c:\CustomSetup.txt set LOG=c:\CustomSetup.txt
del /F %LOG% 1>nul 2>nul del /F %LOG% 1>nul 2>nul
@ -31,35 +29,6 @@ echo deleting %TOOLS% ...
rd /S /Q %TOOLS% rd /S /Q %TOOLS%
echo. echo.
echo copying folder %TOOLS% ...
robocopy tools %TOOLS% /MIR /256 /NJH /NFL /NDL
echo.
echo unpacking BGInfo ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\BGInfo.zip
del /F %TOOLS%\BGInfo.zip 1>nul 2>nul
echo.
echo unpacking TOTAL commander ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\totalcmd_951.zip
del /F %TOOLS%\totalcmd_951.zip 1>nul 2>nul
echo.
echo unpacking notepad++ ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\notepad++.zip
del /F %TOOLS%\notepad++.zip 1>nul 2>nul
echo.
echo unpacking ImapCopy ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\ImapCopy.zip
del /F %TOOLS%\ImapCopy.zip 1>nul 2>nul
echo.
echo unpacking MediaCreationTool ...
%TOOLS%\7z x -aoa -o%SOFTWARE% %SOFTWARE%\MediaCreationTool20H2.zip
del /F %SOFTWARE%\MediaCreationTool20H2.zip 1>nul 2>nul
echo.
echo starting %BATCH% ... echo starting %BATCH% ...
call %BATCH% call %BATCH%
echo. echo.

View File

@ -21,12 +21,6 @@ mkdir %T% 1>nul 2>nul
echo cd to %SCRIPTS% ... echo cd to %SCRIPTS% ...
cd /D %SCRIPTS% cd /D %SCRIPTS%
echo copy files in deploy folder to %TOOLS% ...
if EXIST deploy (
move /Y deploy\* %TOOLS% 2>nul
rmdir deploy 2>nul
)
echo. echo.
echo ####################### echo #######################
echo ### GLOBAL settings ### echo ### GLOBAL settings ###

View File

@ -27,8 +27,8 @@ set noswapfile
" " " "
""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""
"Show line numbers "dont't show line numbers
set number set nonumber
"Transform tabs to spaces "Transform tabs to spaces
set tabstop=8 set tabstop=8

View File

@ -1,6 +1,11 @@
@echo off @echo off
set EXE=..\software\adksetup.exe set EXE=..\software\adk-setup.exe
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
echo ####### %0 ####### echo ####### %0 #######

View File

@ -2,13 +2,18 @@
set EXE=..\software\F-SecureNetworkInstaller-AV_AVTR20F930_.exe set EXE=..\software\F-SecureNetworkInstaller-AV_AVTR20F930_.exe
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
echo ####### %0 ####### echo ####### %0 #######
echo installing F-Secure Anti-Virus ... echo installing F-Secure Anti-Virus ...
%EXE% --silent %EXE% --silent
echo removing F-Secure desktop link ... echo removing F-Secure desktop link ...
del /F "%PUBLIC%\Desktop\F-Secure Anti-Virus.lnk" del /F "%PUBLIC%\Desktop\F-Secure Anti-Virus.lnk" 2>nul
echo ####### %0 ####### echo ####### %0 #######

View File

@ -2,8 +2,12 @@
set SCRIPTS=..\scripts set SCRIPTS=..\scripts
set SOFTWARE=..\software set SOFTWARE=..\software
set MSI=emclient-setup.msi
set MSI=emclient-v8.1.1054.msi if NOT EXIST %SOFTWARE%\%MSI% (
echo ERROR: %SOFTWARE%\%MSI% not found!
exit /b
)
echo ####### %0 ####### echo ####### %0 #######

View File

@ -2,9 +2,13 @@
set SCRIPTS=..\scripts set SCRIPTS=..\scripts
set SOFTWARE=..\software set SOFTWARE=..\software
set MSI=far-setup.msi set MSI=far-setup.msi
if NOT EXIST %SOFTWARE%\%MSI% (
echo ERROR: %SOFTWARE%\%MSI% not found!
exit /b
)
echo ####### %0 ####### echo ####### %0 #######
cd %SOFTWARE% cd %SOFTWARE%

View File

@ -1,27 +1,31 @@
@echo off @echo off
set CONF=config\firefox set CONF=config\firefox
set SCRIPTS=..\..\scripts set SCRIPTS=..\scripts
set SOFTWARE=..\software\firefox set SOFTWARE=..\software
set MSI=firefox-setup.msi
set MSI=Firefox_Setup_83.0b9.msi if NOT EXIST %SOFTWARE%\%MSI% (
set FIREFOXBASE="C:\Program Files\Mozilla Firefox" echo ERROR: %SOFTWARE%\%MSI% not found!
exit /b
)
set BADGERFILE=%SOFTWARE%\privacy_badger-2020.12.10.xpi set FIREFOXBASE="%ProgramFiles%\Mozilla Firefox"
set BADGERFILE=%SOFTWARE%\privacybadger-addon.xpi
set BADGERTARGET=jid1-MnnxcxisBPnSXQ@jetpack.xpi set BADGERTARGET=jid1-MnnxcxisBPnSXQ@jetpack.xpi
set UBLOCKFILE=%SOFTWARE%\ublock_origin-1.32.0.xpi set UBLOCKFILE=%SOFTWARE%\ublockorigin-addon.xpi
set UBLOCKTARGET=uBlock0@raymondhill.net.xpi set UBLOCKTARGET=uBlock0@raymondhill.net.xpi
set PASSWORD1FILE=%SOFTWARE%\1password-1.22.3.xpi set PASSWORD1FILE=%SOFTWARE%\1password-addon.xpi
set PASSWORD1TARGET={d634138d-c276-4fc8-924b-40a0ea21d284}.xpi set PASSWORD1TARGET={d634138d-c276-4fc8-924b-40a0ea21d284}.xpi
set BITWARDENFILE=%SOFTWARE%\bitwarden-1.47.1.xpi set BITWARDENFILE=%SOFTWARE%\bitwarden-addon.xpi
set BITWARDENTARGET={446900e4-71c2-419f-a6a7-df9c091e268b}.xpi set BITWARDENTARGET={446900e4-71c2-419f-a6a7-df9c091e268b}.xpi
echo ####### %0 ####### echo ####### %0 #######
cd %SOFTWARE%
@echo on @echo on
msiexec /i %MSI% /passive msiexec /i %MSI% /passive
@echo off @echo off

View File

@ -1,8 +1,13 @@
@echo off @echo off
set CONFIG=config\install-git.txt set CONFIG=config\install-git.txt
set EXE=..\software\Git-2.29.0-64-bit.exe
set TOOLS=c:\tools set TOOLS=c:\tools
set EXE=..\software\git-setup.exe
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
echo ####### %0 ####### echo ####### %0 #######

View File

@ -3,8 +3,12 @@
set SCRIPTS=..\scripts set SCRIPTS=..\scripts
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_enterprise64.msi if NOT EXIST %SOFTWARE%\%MSI% (
echo ERROR: %SOFTWARE%\%MSI% not found!
exit /b
)
echo ####### %0 ####### echo ####### %0 #######

View File

@ -2,27 +2,26 @@
set SCRIPTS=..\scripts set SCRIPTS=..\scripts
set SOFTWARE=..\software set SOFTWARE=..\software
set EXE=openshell-setup.exe
rem must be full qualified pathname (OpenShell BUG!) if NOT EXIST %SOFTWARE%\%EXE% (
echo ERROR: %SOFTWARE%\%EXE% not found!
exit /b
)
rem config must be full qualified pathname (OpenShell BUG!)
set CONFIG=c:\tools\scripts\config\OpenshellSettings.xml set CONFIG=c:\tools\scripts\config\OpenshellSettings.xml
set EXE=OpenShellSetup_4_4_160.exe
set MSI=OpenShellSetup64_4_4_160.msi
echo ####### %0 ####### echo ####### %0 #######
cd %SOFTWARE% cd %SOFTWARE%
@echo on @echo on
%EXE% extract64 %EXE% ADDLOCAL=StartMenu,ClassicExplorer /passive
msiexec /i %MSI% ADDLOCAL=StartMenu,ClassicExplorer /passive
@echo off @echo off
rem cleanup ...
del /F %MSI%
cd %SCRIPTS% cd %SCRIPTS%
echo removing OpenShell Readme file link ... echo removing OpenShell Readme file link ...
del /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Open-Shell\Open-Shell Readme.lnk" del /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Open-Shell\Open-Shell Readme.lnk" 2>nul
echo loading OpenShell config ... echo loading OpenShell config ...
"%ProgramFiles%\Open-Shell\StartMenu.exe" -xml %CONFIG% "%ProgramFiles%\Open-Shell\StartMenu.exe" -xml %CONFIG%

View File

@ -1,7 +1,7 @@
@echo off @echo off
set CONFIG=config\install-purebasic.txt set CONFIG=config\install-purebasic.txt
set EXE=..\software\PureBasic_Windows_X64_LTS_5.73.exe set EXE=..\software\purebasic-setup.exe
echo ####### %0 ####### echo ####### %0 #######

View File

@ -1,6 +1,11 @@
@echo off @echo off
set EXE=..\software\CitrixReceiver_4.9.9002_LTSR.exe set EXE=..\software\citrixreceiver-setup.exe
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
echo ####### %0 ####### echo ####### %0 #######

View File

@ -2,8 +2,12 @@
set SCRIPTS=..\scripts set SCRIPTS=..\scripts
set SOFTWARE=..\software set SOFTWARE=..\software
set MSI=softmaker-setup.msi
set MSI=ofw2021_64.msi if NOT EXIST %SOFTWARE%\%MSI% (
echo ERROR: %SOFTWARE%\%MSI% not found!
exit /b
)
echo ####### %0 ####### echo ####### %0 #######

View File

@ -1,6 +1,11 @@
@echo off @echo off
set EXE=..\software\VirtualBox-6.1.18-142142-Win.exe set EXE=..\software\virtualbox-setup.exe
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
echo ####### %0 ####### echo ####### %0 #######
@ -15,4 +20,3 @@ rem refresh desktop (W10 style)
ie4uinit.exe -show ie4uinit.exe -show
echo ####### %0 ####### echo ####### %0 #######

View File

@ -1,6 +1,11 @@
@echo off @echo off
set EXE=..\software\vlc-3.0.12-win64.exe set EXE=..\software\vlc-setup.exe
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
echo ####### %0 ####### echo ####### %0 #######

View File

@ -3,6 +3,11 @@
set CONFIG=config\install-vscode.txt set CONFIG=config\install-vscode.txt
set EXE=..\software\VSCodeSetup-x64-1.53.2.exe set EXE=..\software\VSCodeSetup-x64-1.53.2.exe
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
echo ####### %0 ####### echo ####### %0 #######
echo killing ssh processes... echo killing ssh processes...

View File

@ -1,14 +1,14 @@
# Install Windows Terminal ... # Install Windows Terminal ...
#$MSIBUNDLE="..\software\Microsoft.WindowsTerminal_1.5.10271.0_8wekyb3d8bbwe.msixbundle"
$MSIBUNDLE="..\software\windowsterminal-setup.msixbundle" $MSIBUNDLE="..\software\windowsterminal-setup.msixbundle"
if (! (Test-Path $MSIBUNDLE)) {
write-host "ERROR: $MSIBUNDLE not found!"
exit 1
}
write-host '#######',(split-path $PSCommandPath -Leaf),'#######' write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
$ErrorActionPreference = "SilentlyContinue" $ErrorActionPreference = "SilentlyContinue"
# $progressPreference = 'SilentlyContinue'
Add-AppXPackage -path "$MSIBUNDLE" Add-AppXPackage -path "$MSIBUNDLE"
write-host '#######',(split-path $PSCommandPath -Leaf),'#######' write-host '#######',(split-path $PSCommandPath -Leaf),'#######'

View File

@ -0,0 +1,19 @@
echo unpacking TOTAL commander ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\totalcmd_951.zip
del /F %TOOLS%\totalcmd_951.zip 1>nul 2>nul
echo.
echo unpacking notepad++ ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\notepad++.zip
del /F %TOOLS%\notepad++.zip 1>nul 2>nul
echo.
echo unpacking ImapCopy ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\ImapCopy.zip
del /F %TOOLS%\ImapCopy.zip 1>nul 2>nul
echo.
echo unpacking MediaCreationTool ...
%TOOLS%\7z x -aoa -o%SOFTWARE% %SOFTWARE%\MediaCreationTool20H2.zip
del /F %SOFTWARE%\MediaCreationTool20H2.zip 1>nul 2>nul
echo.