Changes

Jump to: navigation, search

Notepad plus plus

321 bytes removed, 18:55, 3 September 2010
Update for 5.7, unfortunately the silent uninstaller seems to be broken
This package supports Windows 32-bit and 64-bit.<br/>
<source lang="xml"><package id="NotepadPlusPlus" name="Notepad++" revision="%version%" reboot="false" priority="30">
<package id="NotepadPlusPlus" variable name="Notepad++version" revisionvalue="5.4.3.0" reboot="false" priority="307"/>
<check type="uninstall" condition="existsversionequalto" path="Notepad++" /> <check type='logical' condition='or'> <check type="file" condition="versiongreaterorequal" path="%ProgramFiles%\Notepad++\notepad++.exe" value="5.4.3.0" /> <check type="file" condition="versiongreaterorequal" path="%ProgramFiles(x86)version%\Notepad++\notepad++.exe" value="5.4.3.0" /> </check>
<!-- remove plug-in's to prevent installer hanging --> <install cmd='%ComSpec% /c if exist "%ProgramFiles%\Notepad++\plugins" del /f /q "%ProgramFiles%\Notepad++\plugins\*.dll"' /> <install cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\Notepad++\plugins" del /f /q "%ProgramFiles(x86)%\Notepad++\plugins\*.dll"' /> <install cmd="%SOFTWARE%\Notepad++\npp.5.4.3%version%.Installer.exe /S" />
<!-- remove plug-in's to prevent installer hanging --> <upgrade cmd='%ComSpec% /c if exist "%ProgramFiles%\Notepad++\plugins" del /f /q "%ProgramFiles%\Notepad++\plugins\*.dll"' /> <upgrade cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\Notepad++\plugins" del /f /q "%ProgramFiles(x86)%\Notepad++\plugins\*.dll"' /> <upgrade cmd="%SOFTWARE%\Notepad++\npp.5.4.3.Installer.exe /S" />
<!-- Silent uninstaller seems to be broken in 5.7 --> <!-- upgrade cmd="%SOFTWARE%\Notepad++\npp.%version%.Installer.exe /S" --> <!-- Windows 32-bit --> <remove cmd='%ComSpec% /c if exist "%ProgramFiles%\Notepad++\plugins" del /f /q "%ProgramFiles%\Notepad++\plugins\*.dll"' /> <remove cmd='%ComSpec% /c if exist "%ProgramFiles%\Notepad++\uninstall.exe" "%ProgramFiles%\Notepad++\uninstall.exe" /S' /> <!-- Windows 64-bit --> <remove cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\Notepad++\plugins" del /f /q "%ProgramFiles(x86)%\Notepad++\plugins\*.dll"' /> <remove cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\Notepad++\uninstall.exe" "%ProgramFiles(x86)%\Notepad++\uninstall.exe" /S' /> </package>
</source>
<source lang="xml">
 
<install cmd='%COMSPEC% /c move "%PROGRAMFILES%\Notepad++\updater" "%PROGRAMFILES%\Notepad++\disabled-updater"' />
 
<upgrade cmd='%COMSPEC% /c move "%PROGRAMFILES%\Notepad++\updater" "%PROGRAMFILES%\Notepad++\disabled-updater"' />
 
</source>
[[Category:Silent Installers]]
Anonymous user

Navigation menu