rubickを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Rubick.Rubick -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Rubick.Rubick -e --silentwinget uninstall --id Rubick.Rubick -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
rubick-Setup-4.3.8-x64.exe /Sインストール先を指定
rubick-Setup-4.3.8-x64.exe /S /D=C:\Apps\rubick- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8775235d-add8-5501-961c-495d96145e7e
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
rubick-Setup-4.3.8-x64.exe /Sインストール先を指定
rubick-Setup-4.3.8-x64.exe /S /D=C:\Apps\rubick- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8775235d-add8-5501-961c-495d96145e7e
32ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
rubick-Setup-4.3.8-ia32.exe /Sインストール先を指定
rubick-Setup-4.3.8-ia32.exe /S /D=C:\Apps\rubick- アンインストール用レジストリキー
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\8775235d-add8-5501-961c-495d96145e7e
32ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
rubick-Setup-4.3.8-ia32.exe /Sインストール先を指定
rubick-Setup-4.3.8-ia32.exe /S /D=C:\Apps\rubick- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\8775235d-add8-5501-961c-495d96145e7e
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-rubick.ps1
$url = 'https://github.com/rubickCenter/rubick/releases/download/v4.3.8/rubick-Setup-4.3.8-x64.exe'
$sha256 = '9C7E616FE61D897AF8F30E940ED3F030D264FC66C4CCA81F35BF3F9949F3D851'
$file = Join-Path $env:TEMP 'rubick-Setup-4.3.8-x64.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-rubick.ps1
$url = 'https://github.com/rubickCenter/rubick/releases/download/v4.3.8/rubick-Setup-4.3.8-x64.exe'
$sha256 = '9C7E616FE61D897AF8F30E940ED3F030D264FC66C4CCA81F35BF3F9949F3D851'
$file = Join-Path $env:TEMP 'rubick-Setup-4.3.8-x64.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-rubick.ps1
$url = 'https://github.com/rubickCenter/rubick/releases/download/v4.3.8/rubick-Setup-4.3.8-ia32.exe'
$sha256 = '8485AA7AAF9590636ACBAEBD2226AE3B134768E0CB1374767347B1C0CCAEBB89'
$file = Join-Path $env:TEMP 'rubick-Setup-4.3.8-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 install-rubick.ps1
$url = 'https://github.com/rubickCenter/rubick/releases/download/v4.3.8/rubick-Setup-4.3.8-ia32.exe'
$sha256 = '8485AA7AAF9590636ACBAEBD2226AE3B134768E0CB1374767347B1C0CCAEBB89'
$file = Join-Path $env:TEMP 'rubick-Setup-4.3.8-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