[Bug 13285] New: WriteIniValues does not create c:/windows/ DieVölkerGold.ini
http://bugs.winehq.org/show_bug.cgi?id=13285 Summary: WriteIniValues does not create c:/windows/DieVölkerGold.ini Product: Wine Version: 1.0-rc1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi AssignedTo: wine-bugs(a)winehq.org ReportedBy: hoehle(a)users.sourceforge.net Hi, The game "die Völker, Gold Edition" does not install correctly. The bug is that the file c:\windows\DieVölkerGold.ini is not created during installation. The wise installer / MSI report no error, yet running the game says it was not installed correctly: Call KERNEL32.GetPrivateProfileStringA(004bd5c8 "SearchPaths",004bd5d4 "HDD SearchPath",004c0ca8 "",004c2698,00000104,004c279c "C:\\windows\\DieV\xf6lkerGol d.ini") ret=00493885 Running msiexec by hand in order to produce a log file shows, among other log messages: $ msiexec '/l*' foo.log /i d:\\setup\\setup.msi [...] Action 22:57:22: WriteIniValues. Schreiben von INI-Dateiwerten Datei: Version, Abschnitt: Info, Schlüssel: Version, Wert: v3.0 Datei: HDDSearchPath, Abschnitt: SearchPaths, Schlüssel: HDDSearchPath, Wert: C:\Programme\Games\Voelker\ which seems to indicate that the correct calls were made to have the file created. I created the file by hand, using the keys & values from the log file: [Info] Version=" v3.0" [SearchPaths] HDDSearchPath="C:\\Programme\\Games\Voelker\\" CDSearchPath="D:\\game" UnInstallPath="msiexec /x {24ECFEDB-6CE0-48D0-8C34-EE4C5BC275BF}" The error message then disappears. (It is replaced by another one saying that the Cinepak codec is not installed, but that's another bug). Maybe the Umlaut in the file name causes trouble? -- I've seen other applications (not yet tested again in 1.0rc1) produce ASCII windows/*.ini files successfully. -- 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=13285 James Hawkins <truiken(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer --- Comment #1 from James Hawkins <truiken(a)gmail.com> 2008-05-17 20:16:51 --- Please attach a +msi,+profile log. -- 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=13285 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000(a)yahoo.co.uk --- Comment #2 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2008-05-18 03:26:21 --- See http://bugs.winehq.org/show_bug.cgi?id=5024 for a game that suffers from the same bug. Doesn't mean that this is necesarraly the same issue, but it might be handy to keep an eye on that bug, could be the same bug -- 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=13285 --- Comment #3 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2008-05-19 07:08:53 --- Created an attachment (id=13177) --> (http://bugs.winehq.org/attachment.cgi?id=13177) bzip of WINEDEBUG=+msi,+msiexec trace I'll replace that with a +profile log ASAP in a few days. -- 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=13285 --- Comment #4 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2008-05-19 07:21:08 --- Created an attachment (id=13178) --> (http://bugs.winehq.org/attachment.cgi?id=13178) bzip of corresponding msiexec logfile log file (not wine debug trace) created by msiexec via WINEDEBUG=+msi,+msiexec wine msiexec '/l*' foo.log /i d:\\setup\\setup.msi Running with LANG=C wine msiexec made no difference: still no *.ini file -- 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=13285 Jörg Höhle <hoehle(a)users.sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #13177|0 |1 is obsolete| | --- Comment #5 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2008-05-19 10:29:17 --- Created an attachment (id=13180) --> (http://bugs.winehq.org/attachment.cgi?id=13180) WINEDEBUG=+msi,+profile trace from msiexec /i The following excerpt hints at what's going wrong: trace:msi:ITERATE_WriteIniValues Adding value L"Version" to section L"Info" in L"C:\\windows\\diev\00f6l~1.ini|diev\00f6lkergold.ini" trace:profile:PROFILE_Open path: L"C:\\windows\\diev\00f6l~1.ini|diev\00f6lkergold.ini" warn:profile:PROFILE_Open Error 123 opening file L"C:\\windows\\diev\00f6l~1.ini|diev\00f6lkergold.ini" winerror.h:#define ERROR_INVALID_NAME 123 I used 0.9.61 (not rc1) for this one log. kernel32/profile.c:PROFILE_Open uses: hFile = CreateFileW(buffer, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); So either the Umlaut is the problem, or the surprising (to me) "...|alternatename.ini" syntax. -- 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=13285 --- Comment #6 from James Hawkins <truiken(a)gmail.com> 2008-05-19 12:47:25 --- Can you attach the .msi file from the installer to this bug report please? -- 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=13285 --- Comment #7 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2008-05-20 02:29:44 --- I'm sorry I won't attach the .msi file. First, it's 217MB in size. Second, "die Völker" is a commercial game, not distributable AFAIK and I believe the .msi contains all of it but a few (mostly video) files on CD-ROM. I'll create an appdb entry soon. Is there any other way I can help with this bug? -- 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=13285 --- Comment #8 from James Hawkins <truiken(a)gmail.com> 2008-05-20 17:02:14 --- 1) Download and install Orca, the msi package viewer [1] 2) Open up the .msi file in Orca 3) right-click on the IniFile table and select 'export table to file' 4) attach that file to this bug report [1] http://astebner.sts.winisp.net/Tools/Orca.zip -- 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=13285 --- Comment #9 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2008-05-29 04:36:31 --- Created an attachment (id=13454) --> (http://bugs.winehq.org/attachment.cgi?id=13454) export of Orca's inivalues table (as binary because of ö-Umlaut) Here's the requested table. It still doesn't tell me whether the filename entry therein (dievöl~1.ini|dievölkergold.ini) -- coded using the DOS character set in the .idt file -- is legal or whether some ancestor function should never have generated such a filename in the first place. Is "|" causing the trouble? Is "dievöl~1" causing the trouble? -- 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=13285 James Hawkins <truiken(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #10 from James Hawkins <truiken(a)gmail.com> 2008-10-27 13:19:39 --- Should be fixed by this commit: http://winehq.org/pipermail/wine-cvs/2008-October/049110.html -- 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=13285 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #11 from Alexandre Julliard <julliard(a)winehq.org> 2008-11-07 10:46:39 --- Closing bugs fixed in 1.1.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=13285 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |bf9538f383eba92284a6df216df | |717514ff4eb1e -- 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