Ordres per instal·lar NoteZap 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 HetoAndrade.NoteZap -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id HetoAndrade.NoteZap -e --silentwinget uninstall --id HetoAndrade.NoteZap -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual · pt-BR
Instal·lació silenciosa
NoteZap_Setup_v1.9.2909.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTUna altra carpeta
NoteZap_Setup_v1.9.2909.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\notezap"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F306435F-8861-42C8-B641-E9D80B540E0A}_is1
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-notezap.ps1
$url = 'https://github.com/hetoandrade/hetoandrade.github.io/releases/download/notezap-v1.9.2909/NoteZap_Setup_v1.9.2909.exe'
$sha256 = '7368277FDB56308DD20D7E9AC23CC8FEE9F84C4D61E8C99B9A30082882BEE9A5'
$file = Join-Path $env:TEMP 'NoteZap_Setup_v1.9.2909.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' -Wait