dev-sidecarを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id docmirror.dev-sidecar -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id docmirror.dev-sidecar -e --silentwinget uninstall --id docmirror.dev-sidecar -e --silentインストーラー別
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
DevSidecar-2.3.3-windows-x86_64.exe /Sインストール先を指定
DevSidecar-2.3.3-windows-x86_64.exe /S /D=C:\Apps\dev-sidecar- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b54923aa-fda9-5ff9-bb60-46d74e93ec70
ARM64 · EXE(NSIS) · すべてのユーザー
サイレントインストール
DevSidecar-2.3.3-windows-arm64.exe /Sインストール先を指定
DevSidecar-2.3.3-windows-arm64.exe /S /D=C:\Apps\dev-sidecar- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b54923aa-fda9-5ff9-bb60-46d74e93ec70
32ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
DevSidecar-2.3.3-windows-ia32.exe /Sインストール先を指定
DevSidecar-2.3.3-windows-ia32.exe /S /D=C:\Apps\dev-sidecar- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\b54923aa-fda9-5ff9-bb60-46d74e93ec70
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-dev-sidecar.ps1
$url = 'https://github.com/docmirror/dev-sidecar/releases/download/v2.3.3/DevSidecar-2.3.3-windows-x86_64.exe'
$sha256 = '4D8F254C18419373ABB95FF1EDAFA9768FC3ED8B9609FD234F0BD426ABED0B38'
$file = Join-Path $env:TEMP 'DevSidecar-2.3.3-windows-x86_64.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 '/S' -Wait install-dev-sidecar.ps1
$url = 'https://github.com/docmirror/dev-sidecar/releases/download/v2.3.3/DevSidecar-2.3.3-windows-arm64.exe'
$sha256 = 'DCE1D824795D880CCFE3A9E254F211A347F1DC54D83E2263DAD9E3A1AE99CB46'
$file = Join-Path $env:TEMP 'DevSidecar-2.3.3-windows-arm64.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 '/S' -Wait install-dev-sidecar.ps1
$url = 'https://github.com/docmirror/dev-sidecar/releases/download/v2.3.3/DevSidecar-2.3.3-windows-ia32.exe'
$sha256 = '02F08119FEBD4477D60D1B25F36109B5F42D300D8906C1EF3586A27AFCFE6FD5'
$file = Join-Path $env:TEMP 'DevSidecar-2.3.3-windows-ia32.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 '/S' -Wait