Kommandoer til at installere AppSwitcher 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 ipatalas.AppSwitcher -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ipatalas.AppSwitcher -e --silentwinget uninstall --id ipatalas.AppSwitcher -e --silentPr. installationsfil
Alle processorer · EXE (Inno Setup) · Alle brugere
Lydløs installation
AppSwitcher.SelfContained.Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
AppSwitcher.SelfContained.Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\appswitcher"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\7954d19d-b9c7-42b4-882b-0c03e632e75f_is1
- Installationsmappe
- %ProgramFiles%\AppSwitcher
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-appswitcher.ps1
$url = 'https://github.com/ipatalas/app-switcher/releases/download/v1.10.4/AppSwitcher.SelfContained.Installer.exe'
$sha256 = 'D60C16561EE1788CB977D0A8BAD19950DFBF7DBBC16EB2991D3073FA4DB0C4CE'
$file = Join-Path $env:TEMP 'AppSwitcher.SelfContained.Installer.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