32 lines
1.2 KiB
Batchfile
32 lines
1.2 KiB
Batchfile
rem ------------------------------------------------------------
|
|
rem Installationsroutine
|
|
rem ------------------------------------------------------------
|
|
|
|
rem --- Option: Download in ein temporäres Verzeichnis
|
|
rem --- Kann für z.B. für GLPI abgeschaltet werden
|
|
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
|
|
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
|
|
|
|
rem --- Download Basis-URL, Dateiname und TEMP-Verzeichnis
|
|
set VER=3.5.1
|
|
set BASEURL=https://github.com/audacity/audacity/releases/download/Audacity-%VER%
|
|
set PROG=audacity-win-%VER%-64bit.exe
|
|
|
|
rem --- Lade Installationsdatei herunter
|
|
curl -kL %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
|
|
|
rem --- Silent-Installation des Programms:
|
|
%PROG% /VERYSILENT /NORESTART /ALLUSERS
|
|
|
|
|
|
rem --- Installiere C++ Redistibutable
|
|
rem set BASEURL=https://support.ostrachhelp.de/OstrachHELP/setup_windows/raw/branch/main/essentiell
|
|
rem set PROG=VC_redist.x64.exe
|
|
rem curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG% & %PROG% /Q
|
|
|
|
rem ---- Beispiele ---------------------------------------------
|
|
rem %PROG% /S
|
|
rem %PROG% /VERYSILENT /NORESTART /ALLUSERS
|
|
rem %PROG% /install /quiet /norestart
|
|
rem %SYSTEMDRIVE%\windows\system32\msiexec /i "%PROG%" /passive /l %SAVEPATH%\%PROG%.log
|