Files
setup_windows_2/app/install_notepad++.cmd
2025-08-26 15:48:58 +02:00

23 lines
844 B
Batchfile

:: ------------------------------------------------------------
:: Installiere Notepad++
:: ------------------------------------------------------------
:: --- Option: Download in ein temporäres Verzeichnis
:: --- Kann für z.B. für GLPI abgeschaltet werden
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
set VERS=8.8.5
set BASEURL=https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v%VERS%
set PROG=npp.%VERS%.Installer.exe
curl -kL %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
:: --- Deinstalliere alte Version
if exist "%%programfiles%%\Notepad++\uninstall.exe" "%%programfiles%%\Notepad++\uninstall.exe" /S
if exist "%%programfiles(x86)%%\ Notepad++\uninstall.exe" "%%programfiles(x86)%%\Notepad++\uninstall.exe" /S
:: --- Installiere Notepad++
%PROG% /S /noUpdater