פקודות להתקנה של Notepad-- בלי חלונות ושאלות, להסרה ולזיהוי בכלי הפצה. פקודה מוצגת רק כשהיא ודאית: מתוך המניפסט או מברירת המחדל המתועדת של טכנולוגיית ההתקנה.
מדריך קשור: פרמטרים להתקנה שקטה: MSI, NSIS, Inno Setup · הסרת תוכנה דרך הרישום או PowerShell
באמצעות winget
PowerShell
winget install --id ndd.Notepad-- -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ndd.Notepad-- -e --silentwinget uninstall --id ndd.Notepad-- -e --silentלפי קובץ התקנה
64 ביט · EXE (Inno Setup) · המשתמש הנוכחי · en-US
התקנה שקטה
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-תיקייה מותאמת
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\notepad"64 ביט · EXE (Inno Setup) · המשתמש הנוכחי · zh-CN
התקנה שקטה
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-תיקייה מותאמת
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\notepad"64 ביט · EXE (Inno Setup) · כל המשתמשים · en-US
התקנה שקטה
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-תיקייה מותאמת
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\notepad"64 ביט · EXE (Inno Setup) · כל המשתמשים · zh-CN
התקנה שקטה
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-תיקייה מותאמת
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\notepad"PowerShell: הורדה, אימות והתקנה
הסקריפט מוריד את הקובץ הרשמי, בודק את ערך ה־SHA256 ומתקין אותו בהתקנה שקטה.
install-notepad.ps1
$url = 'https://github.com/cxasm/notepad--/releases/download/notepad-v3.7.2/Notepad--v3.7.2-plugin-Installer.exe'
$sha256 = 'DD983460AAE57101F5279F95569B62A5702245D0589DCBF43AD45A1C7166063A'
$file = Join-Path $env:TEMP 'Notepad--v3.7.2-plugin-Installer.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 install-notepad.ps1
$url = 'https://gitee.com/cxasm/notepad--/releases/download/v3.7.2/Notepad--v3.7.2-plugin-Installer.exe'
$sha256 = 'DD983460AAE57101F5279F95569B62A5702245D0589DCBF43AD45A1C7166063A'
$file = Join-Path $env:TEMP 'Notepad--v3.7.2-plugin-Installer.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 install-notepad.ps1
$url = 'https://github.com/cxasm/notepad--/releases/download/notepad-v3.7.2/Notepad--v3.7.2-plugin-Installer.exe'
$sha256 = 'DD983460AAE57101F5279F95569B62A5702245D0589DCBF43AD45A1C7166063A'
$file = Join-Path $env:TEMP 'Notepad--v3.7.2-plugin-Installer.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 install-notepad.ps1
$url = 'https://gitee.com/cxasm/notepad--/releases/download/v3.7.2/Notepad--v3.7.2-plugin-Installer.exe'
$sha256 = 'DD983460AAE57101F5279F95569B62A5702245D0589DCBF43AD45A1C7166063A'
$file = Join-Path $env:TEMP 'Notepad--v3.7.2-plugin-Installer.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