SideQuestを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id SideQuestVR.SideQuest -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SideQuestVR.SideQuest -e --silentwinget uninstall --id SideQuestVR.SideQuest -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー · en-US
サイレントインストール
SideQuest-Setup-0.10.42-x64-win.exe /Sインストール先を指定
SideQuest-Setup-0.10.42-x64-win.exe /S /D=C:\Apps\sidequest64ビット · EXE(NSIS) · すべてのユーザー · en-US
サイレントインストール
SideQuest-Setup-0.10.42-x64-win.exe /Sインストール先を指定
SideQuest-Setup-0.10.42-x64-win.exe /S /D=C:\Apps\sidequestPowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-sidequest.ps1
$url = 'https://github.com/SideQuestVR/SideQuest/releases/download/v0.10.42/SideQuest-Setup-0.10.42-x64-win.exe'
$sha256 = '2D0CD4CBE441B1403217C2C9E9ACFE2201DA9B765E9DE4CD88595E0D7B60CFEE'
$file = Join-Path $env:TEMP 'SideQuest-Setup-0.10.42-x64-win.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-sidequest.ps1
$url = 'https://github.com/SideQuestVR/SideQuest/releases/download/v0.10.42/SideQuest-Setup-0.10.42-x64-win.exe'
$sha256 = '2D0CD4CBE441B1403217C2C9E9ACFE2201DA9B765E9DE4CD88595E0D7B60CFEE'
$file = Join-Path $env:TEMP 'SideQuest-Setup-0.10.42-x64-win.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