msi: Use 'HKCU\Software\Microsoft\MS Setup (ACME)' as a source for the default user and company names before falling back to the RegisteredXXX values. Fix the conformance test accordingly.

Francois Gouget fgouget at free.fr
Wed Feb 13 15:03:35 CST 2008


---

MsiGetProperty() first uses the DefName and DefCompany values in 
'HKCU\Software\Microsoft\MS Setup (ACME)\User Info', and only if these 
don't exist does it fall back to the Registered* values.

For whatever reason my Windows XP system came with DefCompany set to " " 
and RegisteredCompany set to "" which is why the test failed and how I 
discovered this.

So I fixed both our msi library and the test.


 dlls/msi/package.c       |   52 +++++++++++++++++++++++++++------------------
 dlls/msi/tests/package.c |   23 ++++++++++++++++----
 2 files changed, 49 insertions(+), 26 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0ca84e84f528bb819de06301465e6659dabfdce4.diff
Type: text/x-patch
Size: 7983 bytes
Desc: 
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080213/79e307bd/attachment.bin 


More information about the wine-patches mailing list