Ordres per instal·lar Celerp 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 Celerp.Celerp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Celerp.Celerp -e --silentwinget uninstall --id Celerp.Celerp -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
Celerp-Setup.exe /SUna altra carpeta
Celerp-Setup.exe /S /D=C:\Apps\celerpPowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-celerp.ps1
$url = 'https://github.com/celerp/celerp/releases/download/v2.7.0/Celerp-Setup.exe'
$sha256 = 'D22D2E9FB082FA21478E820D3C4C90D4B22D0DB38B228452F7801453E1CA1E53'
$file = Join-Path $env:TEMP 'Celerp-Setup.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