http://bugzilla.wpkg.org/show_bug.cgi?id=139 --- Comment #2 from graham <graham at mailinator.com> 2009-01-13 15:59:39 --- Further info on Example 1: in the fail scenario, it seems that while the check does indeed fail, and the package is (re)installed, the post-install check succeeds! >From the log output: 2009-01-13 14:42:22, DEBUG : Checking existence of package: Firefox extension flashblock 2009-01-13 14:42:22, DEBUG : The path 'C:\Program Files\Mozilla Firefox\extensions\%ffextid%\install.rdf' does not exist: the test failed . . install happens here ... . 2009-01-13 14:42:30, DEBUG : Checking existence of package: Firefox extension flashblock 2009-01-13 14:42:30, DEBUG : The path 'C:\Program Files\Mozilla Firefox\extensions\{3d7eb24f-2740-49df-8937-200b1cc08f8a}\install.rdf' exists: the test was successful So %ffextid% was correctly expanded/interpolated on the second run of the check, but not the first time! Ahh, looking more closely at the log, it appears that the variables defined in the package aren't actually evaluated before the checks are run, only when an install is run. Is this a bug? I think that explains the observed behaviour for Example 1, though not Example 2. -- Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. |