Befehle, um ArmA3Sync ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id SonsofExiled.Arma3Sync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SonsofExiled.Arma3Sync -e --silentwinget uninstall --id SonsofExiled.Arma3Sync -e --silentNach Installer
32-Bit · EXE (Inno Setup)
Stille Installation
arma3sync-installer-1-7-107.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
arma3sync-installer-1-7-107.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\arma3sync"PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-arma3sync.ps1
$url = 'http://sonsofexiled.fr/arma3sync/releases/arma3sync-installer-1-7-107.exe'
$sha256 = '01F9B758ED274FFB99A9450AD44B82F73EBF3D07416B129FEAF7A08B96B4E0C4'
$file = Join-Path $env:TEMP 'arma3sync-installer-1-7-107.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait