Ordres per instal·lar SwitchCraft sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 instal·lador
64 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTUna altra carpeta
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\switchcraft"64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTUna altra carpeta
SwitchCraft-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\switchcraft"64 bits · Portable
No cal instal·lar-lo (portable)
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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