Files
setup_windows_2/app/install_shotcut.cmd

34 lines
1.3 KiB
Batchfile

:: ------------------------------------------------------------
:: 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 BASEURL=https://sourceforge.net/projects/shotcut/files/v25.08.16/shotcut-win64-250816.exe/download
set PROG=shotcut-win64-250816.exe
:: --- Lade Installationsdatei herunter
curl -k -L %BASEURL% -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
:: --- 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