[wpkg-users] Plugin check + install

Stefan Pendl stefan.pendl.71 at gmail.com
Tue Jan 10 13:24:27 CET 2012


Am 10.01.2012 13:08, schrieb chiddie:
>
> Hello,
>
> i was wondering if it was possible for WPKG to create a package that checks
> the existence and the version of some plugins for a certain program and, if
> the found versions are smaller than the ones indicated in the package, the
> plugins are updated (the plugins are simply .dll files).
>
> Afaik the check conditions are global for the package. Is it possible to
> link a check command to a specific install or update command in a sigle
> package or do i have to write a package for every plugin?
>

It works the other way around since WPKG 1.3.0


<!--code start (watch for line wraps)-->

<install cmd='"%PKG_SOURCE%\vcredist_x86.exe" /q ' >
     <condition>
         <check type="logical" condition="not">
             <check type="uninstall" condition="versionequalto" 
path="Microsoft Visual C++ 2005 Redistributable" value="8.0.56336" />
         </check>
     </condition>
</install>

<!--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?



More information about the wpkg-users mailing list