Befehle, um DocAttic 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 MRHConsultants.DocAttic -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MRHConsultants.DocAttic -e --silentwinget uninstall --id MRHConsultants.DocAttic -e --silentNach Installer
64-Bit · MSI · en-US
Stille Installation
msiexec /i DocAttic-1.1.0.msi /qn /norestartProtokoll schreiben
msiexec /i DocAttic-1.1.0.msi /qn /norestart /l*v "%TEMP%\docattic-install.log"Deinstallation
msiexec /x {2B758196-986D-3377-8219-D1B8AFCFFB03} /qn /norestart- MSI-Produktcode
- {2B758196-986D-3377-8219-D1B8AFCFFB03}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2B758196-986D-3377-8219-D1B8AFCFFB03}
- UpgradeCode
- {419C31F4-408F-4A12-9B27-FCD6B76A18A6}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-docattic.ps1
$url = 'https://docattic.com/downloads/DocAttic-1.1.0.msi'
$sha256 = '05272717C7CF4D5D956CBEEC2C9E1B384FD4593C0CF4DA9704B175818259AB1D'
$file = Join-Path $env:TEMP 'DocAttic-1.1.0.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