[Bug 27338] Msi should provide detailed error if temporary row can't be inserted (MSIMODIFY_VALIDATE_NEW -> MSIDBERROR_DUPLICATEKEY support, Dirt3 installer fails)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 1 15:34:57 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=27338

--- Comment #3 from Anastasius Focht <focht at gmx.net> 2011-06-01 15:34:56 CDT ---
Hello,

--- quote ---
Try this patch.
--- quote ---

Works fine:

--- snip ---
...
0027:Call msi.MsiRecordSetStringA(00000009,00000000,01d749b0
"WixSchedInternetShortcuts:  Adding folder 'ApplicationProgramsMenuFolder',
component 'Shortcuts__CFDF6910_DB4F_C69E_9ADA_92860D3756B1' to the CreateFolder
table") ret=01d633e2 
...
0027:Call msi.MsiCreateRecord(00000002) ret=01d647b5
0027:Call ntdll.RtlAllocateHeap(00110000,00000008,0000002c) ret=6839152e
0027:Ret  ntdll.RtlAllocateHeap() retval=015be4e8 ret=6839152e
0027:trace:msi:alloc_msihandle 0x15be4e8 -> 9
0027:Ret  msi.MsiCreateRecord() retval=00000009 ret=01d647b5 
...
0027:Call msi.MsiRecordSetStringW(00000009,00000001,015be6b8
L"ApplicationProgramsMenuFolder") ret=01d648e5 
...
0027:Call msi.MsiRecordSetStringW(00000009,00000002,015be650
L"Shortcuts__CFDF6910_DB4F_C69E_9ADA_92860D3756B1") ret=01d648e5
0027:Call ntdll.RtlAllocateHeap(00110000,00000000,00000060) ret=683b209a
0027:Ret  ntdll.RtlAllocateHeap() retval=015be790 ret=683b209a
0027:Ret  msi.MsiRecordSetStringW() retval=00000000 ret=01d648e5
0027:Call msi.MsiViewModify(00000007,00000007,00000009) ret=01d6491b
0027:trace:msi:MsiViewModify 7 7 9
0027:Call ntdll.RtlAllocateHeap(00110000,00000000,00000008) ret=683c84c1
0027:Ret  ntdll.RtlAllocateHeap() retval=015be568 ret=683c84c1
0027:Call ntdll.RtlFreeHeap(00110000,00000000,015be568) ret=683c8561
0027:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=683c8561
0027:Ret  msi.MsiViewModify() retval=0000065b ret=01d6491b
0027:Call msi.MsiViewModify(00000007,00000009,00000009) ret=01d6493e
0027:trace:msi:MsiViewModify 7 9 9
0027:Call ntdll.RtlAllocateHeap(00110000,00000000,00000008) ret=683c84c1
0027:Ret  ntdll.RtlAllocateHeap() retval=015be568 ret=683c84c1
0027:Call ntdll.RtlFreeHeap(00110000,00000000,015be568) ret=683c8561
0027:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=683c8561
0027:Ret  msi.MsiViewModify() retval=0000000d ret=01d6493e
0027:Call msi.MsiViewGetErrorW(00000007,0228e60c,0228e5f4) ret=01d64961
0027:trace:msi:MsiViewGetErrorW 7 0x228e60c 0x228e5f4
0027:Ret  msi.MsiViewGetErrorW() retval=00000001 ret=01d64961
0027:Call KERNEL32.GetLastError() ret=01d5b029
0027:Ret  KERNEL32.GetLastError() retval=00000057 ret=01d5b029
...
0027:Call msi.MsiRecordSetStringA(0000000a,00000000,01d749b0
"WixSchedInternetShortcuts:  Error 0x8007000d: failed to add temporary row,
dberr: 1, err: Component_") ret=01d633e2 
...
0027:Call msi.MsiRecordSetStringA(00000009,00000000,01d749b0
"WixSchedInternetShortcuts:  Folder 'ApplicationProgramsMenuFolder' already
exists in the CreateFolder table; the above error is harmless") ret=01d633e2 
...
--- snip ---

The installer runs to completion now, throwing 12 GiB into WINEPREFIX ;-)

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list