Remote Utilities Serverを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id RemoteUtilities.Server -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RemoteUtilities.Server -e --silentwinget uninstall --id RemoteUtilities.Server -e --silentインストーラー別
64ビット · EXE · すべてのユーザー
サイレントインストール
server-3.5.6.0.exe /S /V/quiet /V/norestartアンインストール
msiexec /x {8085CD9B-B001-5661-A219-8B8FFD8847DD} /qn /norestart- MSIプロダクトコード
- {8085CD9B-B001-5661-A219-8B8FFD8847DD}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8085CD9B-B001-5661-A219-8B8FFD8847DD}
- UpgradeCode
- {A3F2A0F7-09CB-485E-A559-74F075622057}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-remote-utilities-server.ps1
$url = 'https://www.remoteutilities.com/download/server-3.5.6.0.exe'
$sha256 = '7B2F2AE3F00030575A502DF79926236ED41ADC46FD024F4254DE677EF060BF8E'
$file = Join-Path $env:TEMP 'server-3.5.6.0.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 /V/quiet /V/norestart' -Wait