Befehle, um Notes ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id nuttyartist.notes -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id nuttyartist.notes -e --silentwinget uninstall --id nuttyartist.notes -e --silentNach Installer
32-Bit · EXE (Inno Setup) · en-US
Stille Installation
NotesSetup_2.3.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
NotesSetup_2.3.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\notes"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3C782395-4B68-4EA5-A2F4-C60E886CD71F}_is1
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-notes.ps1
$url = 'https://github.com/nuttyartist/notes/releases/download/v2.3.1/NotesSetup_2.3.1.exe'
$sha256 = '59A90515E6F961746EEB983DC61E64F23CC1DD882F2CDA156186948E5A28EDA7'
$file = Join-Path $env:TEMP 'NotesSetup_2.3.1.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