Update von AE übernommen...

This commit is contained in:
2026-09-10 09:05:27 +02:00
parent 91db29372f
commit 8c01127642
56 changed files with 1373 additions and 986 deletions
+27 -9
View File
@@ -5,10 +5,12 @@
:: --- Option: Download in ein temporäres Verzeichnis
:: --- Kann für z.B. für GLPI abgeschaltet werden
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
MKDIR %SAVEPATH% 2> nul & CD /D %SAVEPATH%
:: --- Microsoft Redistributable C++
curl -kLsO https://support.ostrachhelp.de/OstrachHELP/setup_windows/raw/branch/main/essentiell/install_vc_redist_runtime.cmd & call install_vc_redist_runtime.cmd
echo Download C++ Runtime.
curl -kLSsfO https://support.ostrachhelp.de/OstrachHELP/setup_windows/raw/branch/main/essentiell/install_vc_redist_runtime.cmd & call install_vc_redist_runtime.cmd
if %ERRORLEVEL% EQU 0 (echo Download OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
:: --- VBOX Version
set VBV=7.2.2
@@ -18,25 +20,41 @@ set VBB=170484
set BASEURL=https://download.virtualbox.org/virtualbox/%VBV%
set EXTN=Oracle_VirtualBox_Extension_Pack-%VBV%.vbox-extpack
:: --- Lade Installationsdatei herunter
curl -kLOs %BASEURL%/%EXTN%
echo Download VirtualBox Extension Pack
curl -kLSsfO %BASEURL%/%EXTN%
if %ERRORLEVEL% EQU 0 (echo Download OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
:: --- VirtualBox
set BASEURL=https://download.virtualbox.org/virtualbox/%VBV%
set PROG=VirtualBox-%VBV%-%VBB%-Win.exe
:: --- Lade Installationsdatei herunter
curl -kLOs %BASEURL%/%PROG%
echo Download VirtualBox %VBV%
curl -kLSsfO %BASEURL%/%PROG%
if %ERRORLEVEL% EQU 0 (echo Download OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
:: --- Silent-Installation des Programms:
%PROG% --silent --msiparams "VBOX_START=0"
echo Installiere VirtualBox %VBV%
%PROG% --silent --msiparams "VBOX_START=0"
if %ERRORLEVEL% EQU 0 (echo Installation OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
:: --- VirtualBox Konfigurieren
echo Konfiguriere VirtualBox
set VMPATH=%SYSTEMDRIVE%\VirtuelleMaschinen
set VBOXMGR="%ProgramFiles%\Oracle\Virtualbox\Vboxmanage.exe"
MKDIR %VMPATH%
%VBOXMGR% extpack install %SAVEPATH%\%EXTN% --accept-license=eb31505e56e9b4d0fbca139104da41ac6f6b98f8e78968bdf01b1f3da3c4f9ae
%VBOXMGR% setproperty machinefolder %VMPATH%
%VBOXMGR% setextradata global GUI/UpdateDate never
echo Installiere ExtensionPack
%VBOXMGR% extpack install %SAVEPATH%\%EXTN% --accept-license=eb31505e56e9b4d0fbca139104da41ac6f6b98f8e78968bdf01b1f3da3c4f9ae
if %ERRORLEVEL% EQU 0 (echo OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
echo Setze Ordner für VMs: %VMPATH%
%VBOXMGR% setproperty machinefolder %VMPATH%
if %ERRORLEVEL% EQU 0 (echo OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
echo Modifiziere Konfiguration
%VBOXMGR% setextradata global GUI/UpdateDate never
if %ERRORLEVEL% EQU 0 (echo OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
:: --- Handbuch
echo Download VirtualBox Handbuch
set BASEURL=https://download.virtualbox.org/virtualbox/%VBV%/UserManual.pdf
curl -kLs https://download.virtualbox.org/virtualbox/%VBV%/UserManual.pdf -o %VMPATH%/UserManual.pdf
curl -kLSsf https://download.virtualbox.org/virtualbox/%VBV%/UserManual.pdf -o %VMPATH%/UserManual.pdf
if %ERRORLEVEL% EQU 0 (echo OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)