31 lines
1.0 KiB
Batchfile
31 lines
1.0 KiB
Batchfile
:: ----------------------------------------------------------------
|
|
:: Installiere Disk2VHD und DoubleDriver
|
|
:: ----------------------------------------------------------------
|
|
|
|
:: --- Option: Download in ein temporäres Verzeichnis
|
|
:: --- Kann für z.B. für GLPI abgeschaltet werden
|
|
set SAVEPATH=%SYSTEMDRIVE%\SETUP
|
|
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
|
|
|
|
:: Setze Basisurl zu den Binaries
|
|
set BASEURL=https://support.ostrachhelp.de/OstrachHELP/binaries/raw/branch/main/win
|
|
|
|
:: --- Disk2VHD
|
|
set PROG=Disk2vhd.zip
|
|
curl -kLO %BASEURL%/%PROG%
|
|
powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath .}"
|
|
del %PROG%
|
|
|
|
:: ---- Double Driver
|
|
set PROG=Double%%20Driver.zip
|
|
curl -kLO %BASEURL%/%PROG%
|
|
powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath .}"
|
|
del %PROG%
|
|
|
|
:: --- Sichere alle Treiber mit Double Driver
|
|
::cd /D "%SAVEPATH%\Double Driver"
|
|
::ddc b /target:%SAVEPATH%\Treiber
|
|
|
|
:: --- Neu: Sichere alle Treiber mit Powershell!
|
|
powershell -command "& Export-WindowsDriver -Online -Destination C:\SETUP\Treiber"
|