From 25c82a7ea874e1553e1596c15cea22527db05548 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 20 Dec 2020 19:59:09 +0100 Subject: [PATCH] . --- autounattend.cmd | 25 ++++++++++++++++++------- autounattend.ftp | 29 ++++++++++++++++++++++++----- 2 files changed, 42 insertions(+), 12 deletions(-) diff --git a/autounattend.cmd b/autounattend.cmd index 73f8b96..5d19dbd 100644 --- a/autounattend.cmd +++ b/autounattend.cmd @@ -1,16 +1,27 @@ echo off +set T="c:\TEMP" +set TOOLS="c:\tools" +set SCRIPTS="c:\scripts" echo ####### autounattend.cmd ####### -echo getting 7zip and TOOLS archive from webserver ... -ftp -s:autounattend.ftp +echo deleting %TOOLS% and %SCRIPTS% ... +rd /S /Q %TOOLS% +rd /S /Q %SCRIPTS% -echo extracting TOOLS archive ... -7z x -aoa -oc:\ c:\tools.zip +echo creating directories ... +mkdir %T% 1>nul 2>nul +mkdir %TOOLS% 1>nul 2>nul +mkdir %SCRIPTS% 1>nul 2>nul +mkdir %SCRIPTS%\conf 1>nul 2>nul +mkdir %SCRIPTS%\desktop 1>nul 2>nul +mkdir %SCRIPTS%\tweaks 1>nul 2>nul -echo deleting c:\tools.zip .. -del c:\tools.zip +echo getting TOOLS from webserver ... +ftp -i -s:autounattend.ftp echo ####### autounattend.cmd ####### -timeout /t 3 + +echo STARTING setup script... +call %SCRIPTS%\1st-setup.cmd diff --git a/autounattend.ftp b/autounattend.ftp index f286eff..b556c76 100644 --- a/autounattend.ftp +++ b/autounattend.ftp @@ -1,11 +1,30 @@ open exabyte-systems.com w10install 9054c6cf-c54c + binary -lcd c:\ -get tools.zip -lcd c:\windows -get 7z.exe -get 7z.dll + +cd tools +lcd c:\tools +mget * + +cd ../scripts +lcd c:\scripts +mget * + +cd conf +lcd c:\scripts\conf +mget * +cd .. + +cd desktop +lcd c:\scripts\desktop +mget * +cd .. + +cd tweaks +lcd c:\scripts\tweaks +mget * + bye