Visualizer for Command Paletteを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id CostaFotiadis.VisualizerForCommandPalette -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CostaFotiadis.VisualizerForCommandPalette -e --silentwinget uninstall --id CostaFotiadis.VisualizerForCommandPalette -e --silentインストーラー別
64ビット · MSIX
サイレントインストール
Add-AppxPackage -Path VisualizerExtension_1.0.0.0_Bundle.Msixbundleアンインストール
Get-AppxPackage -Name CostaFotiadis.VisualizerforCommandPalette | Remove-AppxPackageARM64 · MSIX
サイレントインストール
Add-AppxPackage -Path VisualizerExtension_1.0.0.0_Bundle.Msixbundleアンインストール
Get-AppxPackage -Name CostaFotiadis.VisualizerforCommandPalette | Remove-AppxPackagePowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-visualizer-for-command-palette.ps1
$url = 'https://github.com/CostaFot/visualizer-extension/releases/download/v1.0.0.0/VisualizerExtension_1.0.0.0_Bundle.Msixbundle'
$sha256 = 'BDA55F07E6D4FAD0188DF701C31355E2BCD15A066A96F1CD93E0E231A3266618'
$file = Join-Path $env:TEMP 'VisualizerExtension_1.0.0.0_Bundle.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-visualizer-for-command-palette.ps1
$url = 'https://github.com/CostaFot/visualizer-extension/releases/download/v1.0.0.0/VisualizerExtension_1.0.0.0_Bundle.Msixbundle'
$sha256 = 'BDA55F07E6D4FAD0188DF701C31355E2BCD15A066A96F1CD93E0E231A3266618'
$file = Join-Path $env:TEMP 'VisualizerExtension_1.0.0.0_Bundle.Msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file