Version checking

From WPKG | Open Source Software Deployment and Distribution
Revision as of 09:34, 16 December 2011 by HeaTon (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This document in other languages: French


"Version checking" (available in WPKG 0.9.6 and later) added five new 'conditions' to the 'file' test:

All tests return 'false' if the file does not exist or the version could not be found.

Example:

<package id="kb899591xp" name="KB899591 for Windows XP">
<check type="file" condition="versiongreaterorequal" path="%windir%\system32\drivers\Rdpwd.sys" value="5.1.2600.2695" />
<install cmd='\\server\share\updates\common\WindowsXP-KB899591-x86-ENU.exe /passive /n /norestart'>
<exit code="194" reboot="true" />
<exit code="3010" reboot="true" />
</install>
</package>
Personal tools
Namespaces
Variants
Actions
Navigation
ideas?
Toolbox