Am 26.10.2012 20:43, schrieb Geoff Brown:
Reposted from Stefan (as an example):

'---code start (watch for line wraps)

<package id="Java" name="Java" revision="2011.10.22" reboot="false" priority="10" 
execute="once">
    <include package-id="JRE6" os="5\.0\.\d{4}"/>
    <include package-id="JRE7">
        <condition>
            <check type="logical" condition="not">
                <check type="host" condition="os" value="5\.0\.\d{4}"/>
            </check>
        </condition>
    </include>
</package>

'---code end


You may want to use a uninstall check for applications.

'---code start (watch for line wraps)

<depends package-id="LibreOffice">
    <condition>
        <check type="logical" condition="not">
            <check type="uninstall" condition="exists"
                path="Microsoft Office .*" />
        </check>
    </condition>
</depends>

'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to