SQL Server Integration Services Projectsを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Microsoft.DataTools.IntegrationServices -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DataTools.IntegrationServices -e --silentwinget uninstall --id Microsoft.DataTools.IntegrationServices -e --silentインストーラー別
32ビット · EXE(WiX Burn) · すべてのユーザー
サイレントインストール
Microsoft.DataTools.IntegrationServices.exe /quiet /norestartアンインストール
msiexec /x {36408E1E-DEB6-47D8-BFF0-37776BEBAC61} /qn /norestart- MSIプロダクトコード
- {36408e1e-deb6-47d8-bff0-37776bebac61}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{36408e1e-deb6-47d8-bff0-37776bebac61}
- UpgradeCode
- {9973B73D-2566-47B7-933F-2198D4E285BF}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-sql-server-integration-services-projects.ps1
$url = 'https://ssis.gallerycdn.vsassets.io/extensions/ssis/microsoftdatatoolsintegrationservices/2.1.2/1764774570388/Microsoft.DataTools.IntegrationServices.exe'
$sha256 = '75D8444333303D5B449660A669AF07862289E5F2BBDEF0AE7520C5BA3E47D65B'
$file = Join-Path $env:TEMP 'Microsoft.DataTools.IntegrationServices.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 '/quiet /norestart' -Wait