Spellbook Associateを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Spellbook.Associate -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Spellbook.Associate -e --silentwinget uninstall --id Spellbook.Associate -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
x64 /Sインストール先を指定
x64 /S /D=C:\Apps\spellbook-associate- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\7483b9f7-7d2b-57c4-bdb7-9de1ecb37bbe
- インストール先フォルダー
- %LocalAppData%\Programs\Spellbook Associate
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
x64 /Sインストール先を指定
x64 /S /D=C:\Apps\spellbook-associate- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\7483b9f7-7d2b-57c4-bdb7-9de1ecb37bbe
- インストール先フォルダー
- %ProgramFiles%\Spellbook Associate
64ビット · MSI
サイレントインストール
msiexec /i x64 /qn /norestartログを出力
msiexec /i x64 /qn /norestart /l*v "%TEMP%\spellbook-associate-install.log"アンインストール
msiexec /x {008F90EB-9C0A-432C-BAD4-C1591A2F9983} /qn /norestart- MSIプロダクトコード
- {008F90EB-9C0A-432C-BAD4-C1591A2F9983}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{008F90EB-9C0A-432C-BAD4-C1591A2F9983}
- UpgradeCode
- {101E4011-8B8C-50B2-90AF-8BC0774E988F}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-spellbook-associate.ps1
$url = 'https://download.spellbook.legal/versions/0.0.14/windows/nsis/x64'
$sha256 = 'B9289B94747F8F4D23A59EB981EA6B28E644A5B98328377185220F63F1652A00'
$file = Join-Path $env:TEMP 'x64'
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-spellbook-associate.ps1
$url = 'https://download.spellbook.legal/versions/0.0.14/windows/nsis/x64'
$sha256 = 'B9289B94747F8F4D23A59EB981EA6B28E644A5B98328377185220F63F1652A00'
$file = Join-Path $env:TEMP 'x64'
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-spellbook-associate.ps1
$url = 'https://download.spellbook.legal/versions/0.0.14/windows/msi/x64'
$sha256 = '2ED9C879E20278A1E34F8D140C67C24476C6E847955C4F8BE915B4640799D479'
$file = Join-Path $env:TEMP 'x64'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait