Kommandon för att installera InstallerClean 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 NoFaff.InstallerClean -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NoFaff.InstallerClean -e --silentwinget uninstall --id NoFaff.InstallerClean -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
InstallerClean-3.7.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
InstallerClean-3.7.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\installerclean"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InstallerClean_is1
- DisplayVersion
- 3.7.0
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-installerclean.ps1
$url = 'https://github.com/no-faff/InstallerClean/releases/download/v3.7.0/InstallerClean-3.7.0-setup.exe'
$sha256 = 'BF035FF190738488BDB34F00E70D0DAA0C6520E187B6790F0E414897F419A2CC'
$file = Join-Path $env:TEMP 'InstallerClean-3.7.0-setup.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