Kommandon för att installera SLADE 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 srjuddington.slade -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id srjuddington.slade -e --silentwinget uninstall --id srjuddington.slade -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
SLADE_3.3.0_win_x64_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
SLADE_3.3.0_win_x64_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\slade"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3EFD0AA9-5156-40DB-9646-360180FF5DFA}_is1
- Installationsmapp
- %ProgramFiles%\SLADE
32-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
SLADE_3.3.0_win_x86_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
SLADE_3.3.0_win_x86_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\slade"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3EFD0AA9-5156-40DB-9646-360180FF5DFA}_is1
- Installationsmapp
- %ProgramFiles%\SLADE
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-slade.ps1
$url = 'https://github.com/sirjuddington/SLADE/releases/download/3.3.0/SLADE_3.3.0_win_x64_setup.exe'
$sha256 = '591000E9A737D1962BA956ECEDCCD4D4813D9FB6BC4FC2B152A3AEEF4C5A05B9'
$file = Join-Path $env:TEMP 'SLADE_3.3.0_win_x64_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 install-slade.ps1
$url = 'https://github.com/sirjuddington/SLADE/releases/download/3.3.0/SLADE_3.3.0_win_x86_setup.exe'
$sha256 = '062DE7EA5CE1F8735900100C6B68E5ABB8AE9B0635E6D5BD29E1154AAC526F43'
$file = Join-Path $env:TEMP 'SLADE_3.3.0_win_x86_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