[wpkg-users] WPKG 1.0 check error

Vladimír Pšenička vladimir.psenicka at prodeco.cz
Fri Apr 11 10:02:59 CEST 2008


Yes, fix (WPKG 1.0.1) works for me without any errors.

Thank you very much.

Rainer Meier napsal(a):
> Hi,
> 
> Vladimír Pšenička wrote:
>> Hello.
>>
>> I am testing new version of WPKG (1.0) with same xml files and get some
>> strange error (Error number: 800a01b6). I didnt have problem with
>> previous version of WPKG (0.9)
>>
>> I can tell, when error occurs:
>>
>> At this check condition:
>>
>>> <check type="logical" condition="or">
>>>     <check type="registry" condition="equals"
>>> path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Common\LanguageResources\SKULanguage"
>>> value="1029" />
>>>     <check type="logical" condition="and">
>>>         <check type="file" condition="exists"
>>> path="%PROGRAMFILES%\Microsoft Office\OFFICE11\winword.exe" />
>>>         <check type="file" condition="versionequalto"
>>> path="%PROGRAMFILES%\Microsoft Office\OFFICE11\winword.exe"
>>> value="11.0.8169.0"/>
>>>     </check>
>>> </check>
> 
> Thanks again for your report. In the meantime I opened a Bugzilla report
> to track this issue. See Bug 107
> (<http://bugzilla.wpkg.org/show_bug.cgi?id=107>).
> 
> A fix can be downloaded there too (versions 1.0.1 and 1.1.0-M4 are
> provided).
> 
> Again, thanks very much for reporting and debugging.
> 
> 
> Changes in short:
> 
> FIX: Fixed Bug 107. Registry equality checks throw an error in case of
> checked
>      value is of type REG_DWORD or REG_BINARY. Now the values are
> converted to
>      strings before comparing it to the 'value' attribute. REG_MULTI_SZ and
>      REG_BINARY values are concatenated using newline characters. For
>      REG_BINARY values each octett is converted to its decinal number
>      representation. Examples:
>      REG_MULTI_SZ = a
>                     b
>                     c
>      value = "a
>      b
>      c"
>      will match.
>      REG_BINARY values will be converted to multiline string as well.
> Each octett of the binary value
>      is converted to its decimal representation.
>      REG_BINARY = "11 22 33 44"
>      value = "17
>      34
>      51
>      68"
>      will match.
> 
> Perhaps you can report if this works for you too.
> 
> br,
> Rainer

-- 
Vladimir Psenicka
IT system engineer
Prodeco a.s.



More information about the wpkg-users mailing list