Update von AE übernommen...
This commit is contained in:
+25
-31
@@ -1,31 +1,25 @@
|
||||
:: ------------------------------------------------------------
|
||||
:: 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=3.7.5
|
||||
set BASEURL=https://github.com/audacity/audacity/releases/download/Audacity-%VERS%
|
||||
set PROG=audacity-win-%VERS%-64bit.exe
|
||||
|
||||
:: --- Lade Installationsdatei herunter
|
||||
curl -kL %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
||||
|
||||
:: --- Silent-Installation des Programms:
|
||||
%PROG% /VERYSILENT /NORESTART /ALLUSERS
|
||||
|
||||
|
||||
:: --- 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
|
||||
|
||||
:: ---- 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% 2> nul & CD /D %SAVEPATH%
|
||||
|
||||
:: --- Download Basis-URL, Dateiname und TEMP-Verzeichnis
|
||||
:: https://github.com/audacity/audacity/releases/latest
|
||||
set VERS=3.7.5
|
||||
set BASEURL=https://github.com/audacity/audacity/releases/download/Audacity-%VERS%
|
||||
set PROG=audacity-win-%VERS%-64bit.exe
|
||||
|
||||
:: --- Lade Datei herunter
|
||||
echo Starte Download.
|
||||
curl -kLSsf %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
||||
if %ERRORLEVEL% EQU 0 (echo Download OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
|
||||
|
||||
:: --- Silent-Installation des Programms:
|
||||
echo Starte Installation.
|
||||
%PROG% /VERYSILENT /NORESTART /ALLUSERS
|
||||
if %ERRORLEVEL% EQU 0 (echo Installation OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user