From 5f2292db84460bdf5d3aa72eabb523622b3aeaf3 Mon Sep 17 00:00:00 2001 From: Peter Reichart Date: Fri, 29 Aug 2025 09:31:07 +0000 Subject: [PATCH] app/install_driverstore-explorer.cmd aktualisiert --- app/install_driverstore-explorer.cmd | 55 +++++++++++----------------- 1 file changed, 21 insertions(+), 34 deletions(-) diff --git a/app/install_driverstore-explorer.cmd b/app/install_driverstore-explorer.cmd index c92ae68..ce8cea1 100644 --- a/app/install_driverstore-explorer.cmd +++ b/app/install_driverstore-explorer.cmd @@ -1,34 +1,21 @@ -:: ------------------------------------------------------------ -:: Installationsroutine -:: ------------------------------------------------------------ - -:: --- 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% - -:: --- Download Basis-URL, Dateiname und TEMP-Verzeichnis -set VERS=v0.12.110 -set BASEURL=https://github.com/lostindark/DriverStoreExplorer/releases/download/%VERS% -set PROG=DriverStoreExplorer.%VERS%.zip - -:: --- Lade Installationsdatei herunter -curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG% - -:: --- Silent-Installation des Programms: -:: %PROG% /S - - -:: --- 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 +:: ------------------------------------------------------------ +:: Installationsroutine +:: ------------------------------------------------------------ + +:: --- 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% + +:: --- Download Basis-URL, Dateiname und TEMP-Verzeichnis +set VERS=v0.12.110 +set BASEURL=https://github.com/lostindark/DriverStoreExplorer/releases/download/%VERS% +set PROG=DriverStoreExplorer.%VERS%.zip + +:: --- Lade Installationsdatei herunter +curl -kLs %BASEURL%/%PROG% -o %SAVEPATH%\%PROG% + +:: --- Entpacke .ZIP +set DESTPATH=%SYSTEMDRIVE%\SETUP +powershell.exe -command "Expand-Archive -Force -Path %PROG% -DestinationPath %DESTPATH% " +