Kommandoer til at installere SwitchCraft uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
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 --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Aktuel bruger
Lydløs installation
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTEgen mappe
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\switchcraft"64-bit · EXE (Inno Setup) · Alle brugere
Lydløs installation
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTEgen mappe
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\switchcraft"64-bit · Portabel
Kræver ingen installation (portabel)
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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