[Bug 25182] New: MsiDatabaseImport on _ForceCodepage table returns ERROR_FUNCTION_FAILED
http://bugs.winehq.org/show_bug.cgi?id=25182 Summary: MsiDatabaseImport on _ForceCodepage table returns ERROR_FUNCTION_FAILED Product: Wine Version: 1.3.7 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi AssignedTo: wine-bugs(a)winehq.org ReportedBy: sam(a)robots.org.uk I'm trying to run Wix <http://wix.sourceforge.net/> under Wine. It fails when trying to compile a project that contains a Product containing a Codepage attribute. Underneath, it is calling MsiDatabaseImport in order to import a value into the special _ForceCodepage table. I have created a test program to replicate what it does. When run with Wine, this program displays the following output, and exits with status 1: $ ~/src/wine/install/bin/wine /media/vmshare/wix-wine/codepage.exe Could not load wine-gecko. HTML rendering will be disabled. trace:msi:DllRegisterServer trace:msi:get_msi_typelib loading typelib trace:msi:MsiSetInternalUI 00000005 (nil) wine: configuration in '/tmp/user/1000/def' has been updated. trace:msi:MsiOpenDatabaseA "test.msi" #0004 0x61fcdc trace:msi:MsiOpenDatabaseW L"test.msi" #0004 0x61fcdc trace:msi:MSI_OpenDatabaseW L"test.msi" #0004 fixme:storage:create_storagefile Storage share mode not implemented. trace:msidb:enum_stream_names stream 0 -> L"\4840\3f7f\4164\422f\4836" L"\4840_Tables" trace:msidb:enum_stream_names stream 1 -> L"\4840\3f3f\4577\446c\3b6a\45e4\4824" L"\4840_StringData" trace:msidb:enum_stream_names stream 2 -> L"\4840\3f3f\4577\446c\3e6a\44b2\482f" L"\4840_StringPool" trace:msidb:read_stream_data L"_StringPool" -> L"\4840\3f3f\4577\446c\3e6a\44b2\482f" trace:msidb:read_stream_data L"_StringData" -> L"\4840\3f3f\4577\446c\3b6a\45e4\4824" trace:msidb:msi_load_string_table Loaded 1 strings trace:msi:alloc_msihandle 0x144cc0 -> 1 trace:msi:MsiDatabaseImportA 1 "Z:\\tmp" "_ForceCodepage.idt" trace:msi:MsiDatabaseImportW 1 L"Z:\\tmp" L"_ForceCodepage.idt" trace:msi:MSI_DatabaseImport 0x144cc0 L"Z:\\tmp" L"_ForceCodepage.idt" MsiDatabaseImport: 1627 fixme:msi:MsiGetLastErrorRecord When run under Windows, it succeeds and exits with status 0. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=25182 --- Comment #1 from Sam Morris <sam(a)robots.org.uk> 2010-11-15 12:34:00 CST --- Created an attachment (id=31961) --> (http://bugs.winehq.org/attachment.cgi?id=31961) codepage.c test program source had to do GetProcAddress trickerly because mingw-w64 is missing an import library for linking against msi.dll -- 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.
http://bugs.winehq.org/show_bug.cgi?id=25182 --- Comment #2 from Sam Morris <sam(a)robots.org.uk> 2010-11-15 12:34:27 CST --- Created an attachment (id=31962) --> (http://bugs.winehq.org/attachment.cgi?id=31962) codepage.exe test program binary -- 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.
http://bugs.winehq.org/show_bug.cgi?id=25182 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase CC| |dank(a)kegel.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=25182 --- Comment #3 from Hans Leidekker <hans(a)meelstraat.net> 2010-11-16 03:54:06 CST --- Created an attachment (id=31974) --> (http://bugs.winehq.org/attachment.cgi?id=31974) msi: Add support for importing and exporting the special _ForceCodepage table. Try this patch. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=25182 --- Comment #4 from Sam Morris <sam(a)robots.org.uk> 2010-11-16 04:09:30 CST --- (In reply to comment #3)
Created an attachment (id=31974) --> (http://bugs.winehq.org/attachment.cgi?id=31974) [details] msi: Add support for importing and exporting the special _ForceCodepage table.
Try this patch.
That works very nicely, thanks! -- 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.
http://bugs.winehq.org/show_bug.cgi?id=25182 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #31961|text/x-csrc |text/plain mime type| | -- 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.
http://bugs.winehq.org/show_bug.cgi?id=25182 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |hans(a)meelstraat.net Resolution| |FIXED --- Comment #5 from Hans Leidekker <hans(a)meelstraat.net> 2010-11-18 02:09:54 CST --- Fixed by c3adb7282040944757957192d608bc4c41bbbfa5. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=25182 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2010-11-26 13:14:08 CST --- Closing bugs fixed in 1.3.8. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=25182 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c3adb7282040944757957192d60 | |8bc4c41bbbfa5 -- 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.
participants (1)
-
wine-bugs@winehq.org