Ordres per instal·lar Notesnook 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 Streetwriters.Notesnook -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Streetwriters.Notesnook -e --silentwinget uninstall --id Streetwriters.Notesnook -e --silentPer instal·lador
64 bits · Portable
No cal instal·lar-lo (portable)
64 bits · EXE (NSIS)
Instal·lació silenciosa
notesnook_win_x64.exe /SUna altra carpeta
notesnook_win_x64.exe /S /D=C:\Apps\notesnook- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\a05a6719-4910-5e6c-a2aa-9af71cd1063b
ARM64 · Portable
No cal instal·lar-lo (portable)
ARM64 · EXE (NSIS)
Instal·lació silenciosa
notesnook_win_arm64.exe /SUna altra carpeta
notesnook_win_arm64.exe /S /D=C:\Apps\notesnook- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\a05a6719-4910-5e6c-a2aa-9af71cd1063b
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-notesnook.ps1
$url = 'https://github.com/streetwriters/notesnook/releases/download/v3.4.9/notesnook_win_x64.exe'
$sha256 = '902E6DE6C4DB38ABD6488B10EF4C314297BD28291CA6ABBA104428CEA6DAB071'
$file = Join-Path $env:TEMP 'notesnook_win_x64.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 install-notesnook.ps1
$url = 'https://github.com/streetwriters/notesnook/releases/download/v3.4.9/notesnook_win_arm64.exe'
$sha256 = '1F03325E5C1DE79600AFE388900D0CD8525BBE51B321193180AF27F921A82B73'
$file = Join-Path $env:TEMP 'notesnook_win_arm64.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