Kommandon för att installera Documentation Monster utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id WestWind.DocumentationMonster -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id WestWind.DocumentationMonster -e --silentwinget uninstall --id WestWind.DocumentationMonster -e --silentPer installationsfil
Alla processorer · EXE (Inno Setup) · Alla användare
Tyst installation
DocumentationMonsterSetup-0.5.5.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
DocumentationMonsterSetup-0.5.5.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\documentation-monster"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-documentation-monster.ps1
$url = 'https://raw.githubusercontent.com/RickStrahl/DocumentationMonster/refs/heads/main/Releases/v1/v0.5/DocumentationMonsterSetup-0.5.5.0.exe'
$sha256 = '56FE22783B22F62F0463E377E27B9AC5496363BB4A735DC71F86577D7B63FED6'
$file = Join-Path $env:TEMP 'DocumentationMonsterSetup-0.5.5.0.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