[wpkg-users] [Bug 173] Allow the use of environment variables for checking file revisions

Rainer Meier r.meier at wpkg.org
Tue Sep 22 22:36:05 CEST 2009


Hi Stefan,

Pendl Stefan wrote:
> Hi Rainer,
>         sorry for misleading you by not adding an example to my request, I will do so the next time, I promise.

No problem. I just did what I thought could be a good idea. Now you can even use
a variable within the revision attribute of the package.

I've updated wpkg.js once again to support your request (expansion of versions
in file checks). In addition I did the same for uninstall version checks and
fixed/changed some other small things.

See here:

Changes 2009-09-22, v1.1.2-RC19 by Rainer Meier <r.meier (at) wpkg.org>
FIX: Fixed duplicated version read from file if a file version check is used.
NEW: Added environment value expansion for file version values.
NEW: Added environment value expansion for uninstall version values.
NEW: Added environment value expansion for execute check return values.
MOD: Modified message if uninstall check string fails to be used as a regular
     expression.

Download here:
<http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.1/wpkg.js?view=log>

A full test run has been made (tunning on Windows 7 Pro RTM) showing no errors.

Feedback appreciated of course :-)

br,
Rainer



More information about the wpkg-users mailing list