Befehle, um DTrace 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
winget install --id Microsoft.DTrace -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DTrace -e --silentwinget uninstall --id Microsoft.DTrace -e --silentNach Installer
64-Bit · MSI · en-US
msiexec /i DTrace.amd64.msi /qn /norestartmsiexec /i DTrace.amd64.msi /qn /norestart /l*v "%TEMP%\dtrace-install.log"msiexec /x {6403795B-BDDC-42F2-9DEC-A46464475C72} /qn /norestart- MSI-Produktcode
- {6403795B-BDDC-42F2-9DEC-A46464475C72}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6403795B-BDDC-42F2-9DEC-A46464475C72}
ARM64 · MSI · en-US
msiexec /i DTrace.arm64.msi /qn /norestartmsiexec /i DTrace.arm64.msi /qn /norestart /l*v "%TEMP%\dtrace-install.log"msiexec /x {6403795B-BDDC-42F2-9DEC-A46464475C72} /qn /norestart- MSI-Produktcode
- {6403795B-BDDC-42F2-9DEC-A46464475C72}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6403795B-BDDC-42F2-9DEC-A46464475C72}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
$url = 'https://download.microsoft.com/download/7/9/d/79d6b79a-5836-4118-a9b7-60bc77c97bf7/DTrace.amd64.msi'
$sha256 = '379FA23FB3D0C079A58D9989FAF4435AE3B9109032B0CF1E84695EAC445E8804'
$file = Join-Path $env:TEMP 'DTrace.amd64.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 $url = 'https://download.microsoft.com/download/7/9/d/79d6b79a-5836-4118-a9b7-60bc77c97bf7/DTrace.arm64.msi'
$sha256 = '8FDCC2717B1CF3ACA01D4B59BDD812E6461F92A452253FAD992A1F12C3737DF6'
$file = Join-Path $env:TEMP 'DTrace.arm64.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