<pre><a href="http://bugs.winehq.org/show_bug.cgi?id=5424">http://bugs.winehq.org/show_bug.cgi?id=5424</a><br><br>The bug above is causing me some confusion regarding how GetPrivateProfileString should behave.<br><br>Wine looks for maxis.ini in C:\Windows, and does not find it there. Therefore, Setup.exe exits.
<br>MSDN claims that if an absolute path is not provided, the windows directory is searched for the file. There are also some registry things to take into account, but maxis.ini<br>should not be referenced in the registry since it is located on a CD-ROM and read before the autorun screen is shown.<br>
<br>It seems very likely that GetPrivateProfileString on real Windows with just a filename as path argument looks in the current directory, but it would be nice if someone with a real<br>Windows installation would check that.<br>
<br>I can have a try at writing the test source if necessary.<br><br></pre>