Changes

Jump to: navigation, search

Notepad plus plus

983 bytes removed, 08:51, 25 June 2015
no edit summary
<source lang="xml">
<!-- Notepad plus plus --> package <package id="npp" name="Notepad++" revision="15%version%" reboot="false" priority="580020"> <variable name="version" value="6.57.59.2" /> <!-- check the uninstall keys to check the package state --> <check type="uninstall" condition="versionequalto" path="Notepad++" value="%version%" /> <!-- remove plug-ins to prevent installer hanging --> <!-- Exit code of variable name="1PKG_DESTINATION" can occur if there are no .dll files in the plugins dir. This happens if a previous installation has been uninstalled, since the uninstaller fails to remove the plugins folder. --> <install cmd value='%COMSPEC% /c if exist "%PROGRAMFILES%\Notepad++\plugins" del /f /q > <variable name="PKG_DESTINATION" value="%PROGRAMFILES(x86)%\Notepad++\plugins\*.dll"' architecture="x86"><exit code="1x64"/></install> <install cmd='%COMSPEC% /c if exist "%PROGRAMFILES(x86)PKG_DESTINATION%\Notepad++\plugins" del /f /q "%PROGRAMFILES(x86)PKG_DESTINATION%\Notepad++\plugins\*.dll"' architecture="x64"> <exit code="1"/> </install> <install cmd="%SOFTWARE%\npp\npp.%version%.Installer.exe /S" /> <install cmd='%COMSPEC% /c rmdir /S /Q "%PROGRAMFILES%\Notepad++\updater"' architecture="x86"/!-- No more auto updates --> <install cmd='%COMSPEC% /c rmdir /S /Q "%PROGRAMFILES(x86)PKG_DESTINATION%\Notepad++\updater"' architecture="x64"/> <!-- <install cmd='%COMSPEC% /c rmdir /s /q "%ALLUSERSPROFILE%\Startmenü\Programme\Notepad++"' /> --> <!-- remove plug-ins to prevent installer hanging --> <upgrade include="install" /> <remove cmd='%COMSPEC% /c if exist "%PROGRAMFILESPKG_DESTINATION%\Notepad++\plugins" del /f /q "%PROGRAMFILESPKG_DESTINATION%\Notepad++\plugins\*.dll"' ><exit code="1"/></remove> <remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES(x86)%\Notepad++\plugins" del /f /q "%PROGRAMFILES(x86)%\Notepad++\plugins\*.dll"' ><exit code="1"/> </remove> <remove cmd='%COMSPEC% /c if exist "%PROGRAMFILESPKG_DESTINATION%\Notepad++\uninstall.exe" "%PROGRAMFILESPKG_DESTINATION%\Notepad++\uninstall.exe" /S' architecture="x86" /> <remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES(x86)%\Notepad++\uninstall.exe" "%PROGRAMFILES(x86)%\Notepad++\uninstall.exe" /S' architecture="x64" /> <remove cmd='%COMSPEC% /C rmdir /s /q "%PROGRAMFILESPKG_DESTINATION%\Notepad++"' architecture="x86"/> <remove cmd='%COMSPEC% /C rmdir /s /q "%PROGRAMFILES(x86)%\Notepad++"' architecture="x64"/> </package>
</source>
27
edits

Navigation menu