> > 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: > A full test run has been made (tunning on Windows 7 Pro RTM) showing no errors. > > Feedback appreciated of course :-) > > br, > Rainer > Rainer, I have just done some installations using a variable as the version string for the file version check. There have been no problems. Will see, if I can use the other extensions too. --- Stefan |