Befehle, um Programmer's Notepad 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 SimonSteele.ProgrammersNotepad -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SimonSteele.ProgrammersNotepad -e --silentwinget uninstall --id SimonSteele.ProgrammersNotepad -e --silentNach Installer
32-Bit · EXE (Inno Setup)
Stille Installation
pn2421440_multilang.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
pn2421440_multilang.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\programmers-notepad"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{52CF142B-7B0E-41E7-98F5-B834122523E7}_is1
32-Bit · ZIP
Keine Installation nötig (portabel)
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-programmers-notepad.ps1
$url = 'https://github.com/simonsteele/pn/releases/download/v2.4.2/pn2421440_multilang.exe'
$sha256 = 'F71DEB2C89C6AA622C8E47C024DD0D3805C677D4B98DC270EB5085FAE5925F06'
$file = Join-Path $env:TEMP 'pn2421440_multilang.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