app/install_driverstore-explorer.cmd aktualisiert
This commit is contained in:
@@ -1,34 +1,21 @@
|
|||||||
:: ------------------------------------------------------------
|
:: ------------------------------------------------------------
|
||||||
:: Installationsroutine
|
:: Installationsroutine
|
||||||
:: ------------------------------------------------------------
|
:: ------------------------------------------------------------
|
||||||
|
|
||||||
:: --- Option: Download in ein temporäres Verzeichnis
|
:: --- Option: Download in ein temporäres Verzeichnis
|
||||||
:: --- Kann für z.B. für GLPI abgeschaltet werden
|
:: --- Kann für z.B. für GLPI abgeschaltet werden
|
||||||
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
|
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
|
||||||
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
|
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
|
||||||
|
|
||||||
:: --- Download Basis-URL, Dateiname und TEMP-Verzeichnis
|
:: --- Download Basis-URL, Dateiname und TEMP-Verzeichnis
|
||||||
set VERS=v0.12.110
|
set VERS=v0.12.110
|
||||||
set BASEURL=https://github.com/lostindark/DriverStoreExplorer/releases/download/%VERS%
|
set BASEURL=https://github.com/lostindark/DriverStoreExplorer/releases/download/%VERS%
|
||||||
set PROG=DriverStoreExplorer.%VERS%.zip
|
set PROG=DriverStoreExplorer.%VERS%.zip
|
||||||
|
|
||||||
:: --- Lade Installationsdatei herunter
|
:: --- Lade Installationsdatei herunter
|
||||||
curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
curl -kLs %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
||||||
|
|
||||||
:: --- Silent-Installation des Programms:
|
:: --- Entpacke .ZIP
|
||||||
:: %PROG% /S
|
set DESTPATH=%SYSTEMDRIVE%\SETUP
|
||||||
|
powershell.exe -command "Expand-Archive -Force -Path %PROG% -DestinationPath %DESTPATH% "
|
||||||
|
|
||||||
:: --- Installiere C++ Redistibutable
|
|
||||||
:: set BASEURL=https://support.ostrachhelp.de/OstrachHELP/setup_windows/raw/branch/main/essentiell
|
|
||||||
:: set PROG=VC_redist.x64.exe
|
|
||||||
:: curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG% & %PROG% /Q
|
|
||||||
|
|
||||||
:: --- Entpacket .ZIP
|
|
||||||
:: powershell.exe -command "Expand-Archive -Force -Path %PROG% -DestinationPath . "
|
|
||||||
|
|
||||||
:: ---- Beispiele ---------------------------------------------
|
|
||||||
:: %PROG% /S
|
|
||||||
:: %PROG% /VERYSILENT /NORESTART /ALLUSERS
|
|
||||||
:: %PROG% /install /quiet /norestart
|
|
||||||
:: %SYSTEMDRIVE%\windows\system32\msiexec /i "%PROG%" /passive /l %SAVEPATH%\%PROG%.log
|
|
||||||
|
Reference in New Issue
Block a user