http://bugs.winehq.org/show_bug.cgi?id=22929
3vi1 winehq.org@eternaldusk.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq.org@eternaldusk.com
--- Comment #9 from 3vi1 winehq.org@eternaldusk.com 2011-06-24 17:41:07 CDT --- I took a look at this over the last hour or two...
My solution to the path bug is slightly different than Patrick's. I figured, if it's going to try to execute it as a local path before it even checks to see if it's a URI, why not just make SHELL_execute smart enough to rip off the 'file://' prefix?
I did, and it worked. It finds the path, and does a few more file operations with Nclauncher.exe and nclauncher.copy.exe.
But.. it appears this isn't the only problem to be overcome, as now that it has no problem with the path... the .Net code that follows throws a "System.IO.FileLoadException: The specified user does not have a valid profile." error while trying to load _Launcher.
I'll play with it a little more, but I'm fearful that this might be a .Net/Wine bug that's out of my depth given my limited free time and unfamiliarity with the Wine code. If anyone else is working on it, I'd love for us to put our heads together though, as I saw that CoH is going to be free-to-play soon.
0044:trace:process:__wine_kernel_init starting process name=L"W:\games\ncsoft\nclauncher.copy.exe" argv[0]=L"w:\games\ncsoft\nclauncher.copy.exe" 003f:trace:process:create_process_impl started process pid 0043 tid 0044 003f:trace:exec:SHELL_ExecuteW returning 33 0044:trace:process:set_entry_point setting FT_Thunk at 0x7b88b820 to 00000000 0044:fixme:advapi:RegisterTraceGuidsW (0x79fd471e, 0x131dc8, {e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 9, 0x7a390368, (null), (null), 0x7a38d250,): stub 0044:fixme:sync:CreateMemoryResourceNotification (0) stub 0047:err:ole:CoGetContextToken apartment not initialised 0044:fixme:shell:URL_ParseUrl failed to parse L"System" 0044:fixme:shell:URL_ParseUrl failed to parse L"_Launcher" 0044:fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms" 0044:fixme:shell:URL_ParseUrl failed to parse L"System.Drawing" 0044:fixme:shell:URL_ParseUrl failed to parse L"NCLauncher.resources" 0044:fixme:shell:URL_ParseUrl failed to parse L"NCLauncher.resources"
-J