Vous souhaitez découvrir comment gérer efficacement le déploiement de vos logiciels en entreprise ?
| Editeur | Don Ho |
Copy to clipboard
|
|---|---|---|
| Description | Notepad++ est un éditeur de texte libre et gratuit, fonctionnant sous Windows, codé en C++, qui intègre la coloration syntaxique de code source pour les langages et fichiers C, C++, Java, C#, XML, HTML, PHP, JavaScript, makefile, art ASCII, doxygen, etc. |
Copy to clipboard
|
| Type de licence | GPL GNU |
Copy to clipboard
|
| Etiquettes / Catégories | Editeur de texte, Développement / Programmation |
Copy to clipboard
|
Notepad++ est pris en charge par l'agent WinAppack. Retrouvez ci-dessous le script PowerShell utilisé pour son installation et sa désinstallation, ainsi que le package complet à télécharger.
| Version | 8.9.8.1 |
Copy to clipboard
|
|---|---|---|
| Archive | Notepad_plus_plus_MULTI-2026.09.25-8.9.8.1-64bits-001_4a85a595a5.zip |
Copy to clipboard
|
| SHA256 | B11429CC12A41F5157A6F58EAAC0F00496396A46258B16AFD7ACD46647266A61 |
Copy to clipboard
|
Pour vérifier l'intégrité de l'archive, exécutez cette commande PowerShell depuis le dossier de téléchargement. Elle doit renvoyer True.
(Get-FileHash .\Notepad_plus_plus_MULTI-2026.09.25-8.9.8.1-64bits-001_4a85a595a5.zip -Algorithm SHA256).Hash -eq 'B11429CC12A41F5157A6F58EAAC0F00496396A46258B16AFD7ACD46647266A61'Ce script nécessite le module WAP.dll (framework WinAppack) pour fonctionner. Il est fourni dans le package zip ci-dessus, dans le même dossier que le script.
param (
[switch]$UNINSTALL,
[switch]$INSTALL,
[switch]$CLOSEAPPMESSAGE,
[switch]$CLEAN,
[switch]$DESKTOPSHORTCUT
)
try {
Import-Module "$PSScriptRoot\WAP.dll"
WAP\Invoke-WAPEnv
$DefaultParamInstall = "-INSTALL -CLOSEAPPMESSAGE"
$DefaultParamUninstall = "-UNINSTALL -CLOSEAPPMESSAGE"
$software.Name = 'Notepad plus plus'
$software.Language = 'MULTI'
$software.Release_Date = '2026.09.25'
$software.Version = '8.9.8.1'
$software.Architecture = '64bits'
$software.Package_Version = '001'
$software.DiskSpace_Mo_Needed = 500
$software.RAM_Mo_Needed = 500
$software.Description = "Open-source text editor for Windows, optimized for coding with syntax highlighting and plugins."
$software.Publisher = "Notepad++ Project"
$software.VisibleProcessesToCloseByUser = @("notepad++")
$software.BackgroundProcessesToKill = @()
$software.Path_32 = @("$PF86\Notepad++\notepad++.exe")
$software.Path_64 = @("$PF\Notepad++\notepad++.exe")
$software.DisplayName = $software.Name
#############################################################
# UNINSTALL
#############################################################
if($UNINSTALL) {
WAP\Start-WAPSession "UNINSTALL"
foreach ($Msi in (WAP\Get-UninstallMSI -PatternDisplayName "^Notepad\+\+.*" -PatternPublisher "")) { $ExitCode = WAP\Start-Execution -Msi $Msi.GUID }
foreach ($Exe in (WAP\Get-UninstallEXE -PatternDisplayName "^Notepad\+\+.*" -PatternPublisher "")) { $ExitCode = WAP\Start-Execution -Exe $Exe.UninstallExe -Arg "/S" }
WAP\Test-AppPath -Path ($software.Path_32)[0] -Expected $false
WAP\Test-AppPath -Path ($software.Path_64)[0] -Expected $false
WAP\Clear-DesktopShortcut -TargetPath ($software.Path_32)[0]
WAP\Clear-DesktopShortcut -TargetPath ($software.Path_64)[0]
if ($CLEAN)
{
WAP\Remove-AppItem -Path "$PF\Notepad++"
}
WAP\Stop-WAPSession
}
#############################################################
# INSTALL
#############################################################
if($INSTALL) {
# Pre-install
WAP\Start-WAPSession "UNINSTALL"
foreach ($Msi in (WAP\Get-UninstallMSI -PatternDisplayName "^Notepad\+\+.*" -PatternPublisher "")) { $ExitCode = WAP\Start-Execution -Msi $Msi.GUID }
WAP\Stop-WAPSession
# Install
WAP\Start-WAPSession "INSTALL"
$ExitCode = WAP\Start-Execution -Exe "$Path\App\npp*.exe" -Arg "/S"
WAP\Test-AppPath -Path ($software.Path)[0] -Expected $true
if($DESKTOPSHORTCUT) {WAP\Set-DesktopShortcut -TargetPath ($software.Path)[0]}
else {WAP\Clear-DesktopShortcut -TargetPath ($software.Path)[0]}
WAP\Stop-WAPSession
}
}
catch {
Write-Output "General Error : $($_.Exception.Message)"
exit 499
}