Ordres per instal·lar Readarr 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 TeamReadarr.Readarr -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TeamReadarr.Readarr -e --silentwinget uninstall --id TeamReadarr.Readarr -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
Readarr.develop.0.4.18.2805.windows-core-x64-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
Readarr.develop.0.4.18.2805.windows-core-x64-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\readarr"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EA316CFC-40C5-4104-A7E1-AFA4D42702D8}_is1
- Carpeta d’instal·lació
- %ProgramData%\Readarr
- DisplayVersion
- 0.4.18
32 bits · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
Readarr.develop.0.4.18.2805.windows-core-x86-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
Readarr.develop.0.4.18.2805.windows-core-x86-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\readarr"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{EA316CFC-40C5-4104-A7E1-AFA4D42702D8}_is1
- Carpeta d’instal·lació
- %ProgramData%\Readarr
- DisplayVersion
- 0.4.18
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-readarr.ps1
$url = 'https://github.com/Readarr/Readarr/releases/download/v0.4.18.2805/Readarr.develop.0.4.18.2805.windows-core-x64-installer.exe'
$sha256 = 'B9CE173EF38CFC2640F4F57ADAA6ED3E227FE9D877D6DEB957DD0545CE85D8E3'
$file = Join-Path $env:TEMP 'Readarr.develop.0.4.18.2805.windows-core-x64-installer.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-readarr.ps1
$url = 'https://github.com/Readarr/Readarr/releases/download/v0.4.18.2805/Readarr.develop.0.4.18.2805.windows-core-x86-installer.exe'
$sha256 = '1EA4FC8B482492789FF4334077ACF5B841241782A2AB7D6ABB2CEAB38E036D57'
$file = Join-Path $env:TEMP 'Readarr.develop.0.4.18.2805.windows-core-x86-installer.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait