diff --git a/app_template.cmd b/app/app_template.cmd similarity index 97% rename from app_template.cmd rename to app/app_template.cmd index 78fcd75..61f0afd 100644 --- a/app_template.cmd +++ b/app/app_template.cmd @@ -1,33 +1,33 @@ -:: ------------------------------------------------------------ -:: 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= -set PROG= - -:: --- 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 BASEURL= +set PROG= + +:: --- 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