Hi all,

I am trying to make a package install on the condition a file exists.

here is my current package:

<package
        id="JavaUpdate" 
        name="Disable Java Update" 
        revision="1" 
        reboot="false" 
        priority="10">

        <check type="logical" condition="not">
                <check type="file" condition="exists" 
path="%PROGRAMFILES%\Java\jre6\bin\jusched.exe" /> 
        </check>
        <install cmd='cmd /c ren "%PROGRAMFILES%\Java\jre6\bin\jusched.exe" 
jusched.exe.disable ' />
</package>

unfortunately it returns true, even though the file exists. I have tested the 
"install cmd" via console and the cmd does work.
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to