Kommandon för att installera ShellRS 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 since2006.ShellRS -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id since2006.ShellRS -e --silentwinget uninstall --id since2006.ShellRS -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
ShellRS-0.1.18-windows-x86_64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
ShellRS-0.1.18-windows-x86_64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\shellrs"- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{45D9E9F5-84BB-4B09-ABE8-1FFE107ACF96}_is1
- Installationsmapp
- %LocalAppData%\Programs\ShellRS
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-shellrs.ps1
$url = 'https://dl.shellrs.com/releases/0.1.18/ShellRS-0.1.18-windows-x86_64-setup.exe'
$sha256 = '362CCB70A2F6F254FF4A4C4098C809ED6FD16731ED65C7ECC6293132615D94FE'
$file = Join-Path $env:TEMP 'ShellRS-0.1.18-windows-x86_64-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