Ordres per instal·lar Spellbook Associate sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
x64 /SUna altra carpeta
x64 /S /D=C:\Apps\spellbook-associate- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\7483b9f7-7d2b-57c4-bdb7-9de1ecb37bbe
- Carpeta d’instal·lació
- %LocalAppData%\Programs\Spellbook Associate
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
x64 /SUna altra carpeta
x64 /S /D=C:\Apps\spellbook-associate- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\7483b9f7-7d2b-57c4-bdb7-9de1ecb37bbe
- Carpeta d’instal·lació
- %ProgramFiles%\Spellbook Associate
64 bits · MSI
Instal·lació silenciosa
msiexec /i x64 /qn /norestartDesar un registre
msiexec /i x64 /qn /norestart /l*v "%TEMP%\spellbook-associate-install.log"Desinstal·lar
msiexec /x {008F90EB-9C0A-432C-BAD4-C1591A2F9983} /qn /norestart- Codi de producte MSI
- {008F90EB-9C0A-432C-BAD4-C1591A2F9983}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{008F90EB-9C0A-432C-BAD4-C1591A2F9983}
- UpgradeCode
- {101E4011-8B8C-50B2-90AF-8BC0774E988F}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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