Befehle, um DJIAssistant2ForMatrice 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 DJI.DJIAssistant2.ForMatrice -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DJI.DJIAssistant2.ForMatrice -e --silentwinget uninstall --id DJI.DJIAssistant2.ForMatrice -e --silentNach Installer
64-Bit · EXE (Inno Setup)
Stille Installation
DJI+Assistant+2+For+Matrice+2.0.13.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
DJI+Assistant+2+For+Matrice+2.0.13.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\djiassistant2formatrice"PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-djiassistant2formatrice.ps1
$url = 'https://dl.djicdn.com/downloads/dji_assistant/20200824/DJI+Assistant+2+For+Matrice+2.0.13.exe'
$sha256 = '6B649FA3A7D47BCB9E3A77D9EF1796E0733A40188B6F69F6657C1D030F781514'
$file = Join-Path $env:TEMP 'DJI+Assistant+2+For+Matrice+2.0.13.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