Befehle, um Microsoft Promptflow 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 Microsoft.Promptflow -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.Promptflow -e --silentwinget uninstall --id Microsoft.Promptflow -e --silentNach Installer
64-Bit · MSI · en-US
Stille Installation
msiexec /i promptflow-1.17.1.msi /qn /norestartProtokoll schreiben
msiexec /i promptflow-1.17.1.msi /qn /norestart /l*v "%TEMP%\microsoft-promptflow-install.log"Deinstallation
msiexec /x {4B2EDCB7-CD45-4E73-B494-2D7CB681414A} /qn /norestart- MSI-Produktcode
- {4B2EDCB7-CD45-4E73-B494-2D7CB681414A}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4B2EDCB7-CD45-4E73-B494-2D7CB681414A}
- UpgradeCode
- {772AA21F-F8D4-4771-B910-1DBCE3F1920C}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-microsoft-promptflow.ps1
$url = 'https://promptflowartifact.blob.core.windows.net/msi-installer/promptflow-1.17.1.msi'
$sha256 = '08A2AC047C316BCF424A63897D999C4697A0FA76B2AB3328BAC2DBA245312991'
$file = Join-Path $env:TEMP 'promptflow-1.17.1.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait