Kommandon för att installera SwitchCraft 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 FaserF.SwitchCraft -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id FaserF.SwitchCraft -e --silentwinget uninstall --id FaserF.SwitchCraft -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTEgen mapp
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\switchcraft"64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTEgen mapp
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\switchcraft"64-bitars · Portabel
Kräver ingen installation (portabel)
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-switchcraft.ps1
$url = 'https://github.com/FaserF/SwitchCraft/releases/download/v2026.1.3/SwitchCraft-Setup.exe'
$sha256 = '5F0C7A6E3F12C0DD09689CA4F6B4D78B516B68AE0FD7E5E2F4CA95DAAF31381E'
$file = Join-Path $env:TEMP 'SwitchCraft-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' -Wait install-switchcraft.ps1
$url = 'https://github.com/FaserF/SwitchCraft/releases/download/v2026.1.3/SwitchCraft-Setup.exe'
$sha256 = '5F0C7A6E3F12C0DD09689CA4F6B4D78B516B68AE0FD7E5E2F4CA95DAAF31381E'
$file = Join-Path $env:TEMP 'SwitchCraft-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' -Wait