Ordres per instal·lar Notchpoint 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 JKC.Notchpoint -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JKC.Notchpoint -e --silentwinget uninstall --id JKC.Notchpoint -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual · en-US
Instal·lació silenciosa
NotchpointSetup-0.2.6.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
NotchpointSetup-0.2.6.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\notchpoint"PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-notchpoint.ps1
$url = 'https://github.com/iamprincejkc/Notchpoint/releases/download/v0.2.6/NotchpointSetup-0.2.6.exe'
$sha256 = 'E0554CCEA67248CF00D275F99EA08E64EE6E3BFC06356495D3253935E43D64E7'
$file = Join-Path $env:TEMP 'NotchpointSetup-0.2.6.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