Ordres per instal·lar WinGet Studio (Experimental) 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 Microsoft.WinGetStudio.Experimental -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.WinGetStudio.Experimental -e --silentwinget uninstall --id Microsoft.WinGetStudio.Experimental -e --silentPer instal·lador
64 bits · MSIX
Instal·lació silenciosa
Add-AppxPackage -Path WinGetStudio_0.100.329.0_8wekyb3d8bbwe.msixbundleDesinstal·lar
Get-AppxPackage -Name Microsoft.Windows.WinGetStudio | Remove-AppxPackageARM64 · MSIX
Instal·lació silenciosa
Add-AppxPackage -Path WinGetStudio_0.100.329.0_8wekyb3d8bbwe.msixbundleDesinstal·lar
Get-AppxPackage -Name Microsoft.Windows.WinGetStudio | Remove-AppxPackage32 bits · MSIX
Instal·lació silenciosa
Add-AppxPackage -Path WinGetStudio_0.100.329.0_8wekyb3d8bbwe.msixbundleDesinstal·lar
Get-AppxPackage -Name Microsoft.Windows.WinGetStudio | Remove-AppxPackagePowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-winget-studio-experimental.ps1
$url = 'https://github.com/microsoft/winget-studio/releases/download/v0.100.329.0/WinGetStudio_0.100.329.0_8wekyb3d8bbwe.msixbundle'
$sha256 = '42FB140FC1F640AF90466D8B7E5120249F1B73D239A6A6F278E667FAA2BF0FB2'
$file = Join-Path $env:TEMP 'WinGetStudio_0.100.329.0_8wekyb3d8bbwe.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-winget-studio-experimental.ps1
$url = 'https://github.com/microsoft/winget-studio/releases/download/v0.100.329.0/WinGetStudio_0.100.329.0_8wekyb3d8bbwe.msixbundle'
$sha256 = '42FB140FC1F640AF90466D8B7E5120249F1B73D239A6A6F278E667FAA2BF0FB2'
$file = Join-Path $env:TEMP 'WinGetStudio_0.100.329.0_8wekyb3d8bbwe.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-winget-studio-experimental.ps1
$url = 'https://github.com/microsoft/winget-studio/releases/download/v0.100.329.0/WinGetStudio_0.100.329.0_8wekyb3d8bbwe.msixbundle'
$sha256 = '42FB140FC1F640AF90466D8B7E5120249F1B73D239A6A6F278E667FAA2BF0FB2'
$file = Join-Path $env:TEMP 'WinGetStudio_0.100.329.0_8wekyb3d8bbwe.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file