25 lines
892 B
Batchfile
25 lines
892 B
Batchfile
|
rem ----------------------------------------------------------------
|
||
|
rem Installiere Disk2VHD und DoubleDriver
|
||
|
rem ----------------------------------------------------------------
|
||
|
|
||
|
rem --- Option: Download in ein temporäres Verzeichnis
|
||
|
rem --- Kann für z.B. für GLPI abgeschaltet werden
|
||
|
set SAVEPATH=%SYSTEMDRIVE%\SETUP
|
||
|
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
|
||
|
|
||
|
set BASEURL=https://support.ostrachhelp.de/OstrachHELP/binaries/raw/branch/main/win
|
||
|
set PROG=Disk2vhd.zip
|
||
|
curl -kLO %BASEURL%/%PROG%
|
||
|
powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath .}"
|
||
|
del %PROG%
|
||
|
|
||
|
set BASEURL=https://support.ostrachhelp.de/OstrachHELP/binaries/raw/branch/main/win
|
||
|
set PROG=Double%%20Driver.zip
|
||
|
curl -kLO %BASEURL%/%PROG%
|
||
|
powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath .}"
|
||
|
del %PROG%
|
||
|
|
||
|
rem --- Sichere alle Treiber:
|
||
|
cd /D "%SAVEPATH%\Double Driver"
|
||
|
ddc b /target:%SAVEPATH%\Treiber
|