pcvisit RemoteHostを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id pcvisit.pcvisitRemoteHost -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id pcvisit.pcvisitRemoteHost -e --silentwinget uninstall --id pcvisit.pcvisitRemoteHost -e --silentインストーラー別
32ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
pcvisit_Remote-Host_Setup.exe /Sインストール先を指定
pcvisit_Remote-Host_Setup.exe /S /D=C:\Apps\pcvisit-remotehost- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\pcvisit RemoteHost
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-pcvisit-remotehost.ps1
$url = 'https://d1kh5e79chg49w.cloudfront.net/1c90b34109fe7bf81f6cd062cb167620/pcvisit_Remote-Host_Setup.exe'
$sha256 = 'B28E6387233E5D9ECE7F3C4428495E675F3ACC591FCA850CCE4F5A9F2FBF597B'
$file = Join-Path $env:TEMP 'pcvisit_Remote-Host_Setup.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