Files
fogsnippets/80_AIBieterCockpitWebLauncher/install_aibietercockpitweblauncher.cmd
Stefan Tollkühn ec74d4a2c1 Initial commit
2025-09-18 14:02:17 +02:00

34 lines
954 B
Batchfile

@echo off
set DOWNLOADFILE="%TEMP%\AI_WEBLAUNCHER.exe"
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
set ARCH=64bit
) else if "%PROCESSOR_ARCHITECTURE%" == "ARM64" (
set ARCH=32bit
) else if "%PROCESSOR_ARCHITECTURE%" == "IA64" (
echo exit 255
) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
set ARCH=32bit
) else (
echo exit 254
)
:: download AI WebLauncher
"%SYSTEMROOT%\System32\bitsadmin.exe" /transfer /download https://www.bietercockpit.de/res/files/AI_WEBLAUNCHER%ARCH%.exe %DOWNLOADFILE% >NUL
:: install AI WebLauncher
:: known parameters:
:: -varfile [file] Responsefile
:: -c Console mode
:: -q Quiet mode
:: -dir [directory] Install directory
:: -overwrite overwrite files in quiet mode
:: -nofilefailures ignore errors in quiet mode
:: -splash [title] show splash screen in quiet mode
:: -console show console in quiet mode
:: -manual choose jre
:: -Dname=value Set system properties
:: -h show help
"%DOWNLOADFILE%" -q