Update von AE übernommen...

This commit is contained in:
2026-09-10 09:05:27 +02:00
parent 91db29372f
commit 8c01127642
56 changed files with 1373 additions and 986 deletions
+27 -22
View File
@@ -1,22 +1,27 @@
:: ------------------------------------------------------------
:: 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
:: ------------------------------------------------------------
:: 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% 2> nul & CD /D %SAVEPATH%
:: https://github.com/notepad-plus-plus/notepad-plus-plus/releases/latest
set VERS=8.9.6.2
set BASEURL=https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v%VERS%
set PROG=npp.%VERS%.Installer.x64.exe
:: --- Lade Datei herunter
echo Starte Download.
curl -kLSsf %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
if %ERRORLEVEL% EQU 0 (echo Download OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
:: --- 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
:: --- Silent-Installation des Programms:
echo Starte Installation.
%PROG% /S /noUpdater
if %ERRORLEVEL% EQU 0 (echo Installation OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)