Jedit

This is a silent installer and uninstaller for jEdit. More infos from here.

jEdit is a Java based code editor, hence the dependency check for Java.

<package
        id="jedit"
        name="jEdit"
        revision="1"
        reboot="false"
        priority="1">
        <depends package-id="java runtime environment" />
        <check type="uninstall" condition="exists" path="jEdit 4.2" />
        <install cmd='"%SOFTWARE%\jedit\jedit4sinstall.exe" /s- /silent /norestart' />
        <update cmd='"%SOFTWARE%\jedit\jedit4sinstall.exe" /s- /silent /norestart' />
        <remove cmd='"%PROGRAMFILES%\jEdit\unins000.exe" /sp- /silent /norestart' />
</package>