Difference between revisions of "Notepad plus plus"
From WPKG | Open Source Software Deployment and Distribution
(Updated to version 5.1.1) |
(adding version check) |
||
Line 13: | Line 13: | ||
priority="1"> | priority="1"> | ||
<check type="uninstall" condition="exists" path="Notepad++" /> | <check type="uninstall" condition="exists" path="Notepad++" /> | ||
+ | <check type="file" condition="versionequalto" path="%PROGRAMFILES%\Notepad++\notepad++.exe" value="5.1.1.0"/> | ||
<install cmd="%SOFTWARE%\notepadplusplus\npp.5.1.1.Installer.exe /S" /> | <install cmd="%SOFTWARE%\notepadplusplus\npp.5.1.1.Installer.exe /S" /> | ||
<upgrade cmd="%SOFTWARE%\notepadplusplus\npp.5.1.1.Installer.exe /S" /> | <upgrade cmd="%SOFTWARE%\notepadplusplus\npp.5.1.1.Installer.exe /S" /> |
Revision as of 16:02, 12 November 2008
This is a silent installer for Notepad++.
Notepad++ is a great little code editor.
<packages>
<package
id="notepadplusplus"
name="Notepad ++ 5.1.1"
revision="511"
reboot="false"
priority="1">
<check type="uninstall" condition="exists" path="Notepad++" />
<check type="file" condition="versionequalto" path="%PROGRAMFILES%\Notepad++\notepad++.exe" value="5.1.1.0"/>
<install cmd="%SOFTWARE%\notepadplusplus\npp.5.1.1.Installer.exe /S" />
<upgrade cmd="%SOFTWARE%\notepadplusplus\npp.5.1.1.Installer.exe /S" />
<remove cmd="%PROGRAMFILES%\Notepad++\uninstall.exe /S" />
</package>
</packages>