http://bugs.winehq.org/show_bug.cgi?id=11228
--- Comment #3 from Anastasius Focht focht@gmx.net 2008-01-25 13:58:04 --- Created an attachment (id=10440) --> (http://bugs.winehq.org/attachment.cgi?id=10440) trace snippet which shows msi deformat_string_internal is bugged
Hello,
I attached the relevant snippet for your pleasure ...
Try MSI_FormatRecordW/deformat_string_internal on this key:
L"Software\Microsoft\.NETFramework\Policy\AppPatch\v[RTM_ProductVersion].00000\XSharpP.EXE\{BDC69590-00EE-408A-B21F-58D9EF182CF6}"
Makes a nice test case ;-)
Hint: "[RTM_ProductVersion]" is a valid msi key but "{BDC69590-00EE-408A-B21F-58D9EF182CF6}" is *not* a valid msi group (it's app data CLSID mistreated as group)
Problem: groups are resolved first - so first iteration ends up at "{BDC69590-00EE-408A-B21F-58D9EF182CF6}" Although it captures the data before the group "{" marker it doesn't process the new capture again because the "progress" pointer is advanced forward with the group marker - completely skipping any deformattable chunks (newdata) before ...
You need to make it multi-pass to resolve both, groups and keys, regardless of order of appearance.
Well, if you get the fix for this bug and the other one mentioned here (msi service install) into GIT, i'll give you additional infos and (msi) patches to let VS.NET 2005 Enterprise Edition successfully install in wine ;-)
Regards