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