![Image](http://img534.imageshack.us/img534/404/screenshotmicrosoftvisu.png)
I've installed the visual c++ applications from winetrick (or so it should have). Please help
http://wiki.winehq.org/FAQ#run_from_terminalHye I been getting the follow error with too many applications now. Half of the programs I try to run spew that error at me while they are said to work perfectly fine with wine.
[Image: http://img534.imageshack.us/img534/404/ ... ftvisu.png ]
I've installed the visual c++ applications from winetrick (or so it should have). Please help
That error in most cases means you (or the program you installed) copied some msvc runtime dlls (msvc?x.dll & co.) into c:\windows\system32 directory. All newer ones will refuse to load from that dir, displaying the massage you see.InterestedParty wrote:Hye I been getting the follow error with too many applications now. Half of the programs I try to run spew that error at me while they are said to work perfectly fine with wine.
Code: Select all
wine BFBC2Game.exe
err:service:load_reg_multisz Error 1804 while reading value L"DependOnService"
err:service:scmdatabase_load_services Error 1804 reading registry key for service L"TVersityMediaServer" - skipping
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.4053)
err:module:attach_process_dlls "MSVCR80.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe" failed, status c0000142
Code: Select all
mv drive_c/windows/system32/msvcr80.dll drive_c/windows/wi
nsxs/
Code: Select all
wine BFBC2Game.exe
err:service:load_reg_multisz Error 1804 while reading value L"DependOnService"
err:service:scmdatabase_load_services Error 1804 reading registry key for service L"TVersityMediaServer" - skipping
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.4053)
err:module:import_dll Library MSVCR80.dll (which is needed by L"C:\\windows\\system32\\MSVCP80.dll") not found
err:module:import_dll Library MSVCP80.dll (which is needed by L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
err:module:import_dll Library MSVCR80.dll (which is needed by L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe" failed, status c0000135
Code: Select all
wine BFBC2Game.exe
err:service:load_reg_multisz Error 1804 while reading value L"DependOnService"
err:service:scmdatabase_load_services Error 1804 reading registry key for service L"TVersityMediaServer" - skipping
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.4053)
err:module:import_dll Library MSVCP80.dll (which is needed by L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
err:module:import_dll Library MSVCR80.dll (which is needed by L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe" failed, status c0000135
Search for any MSVCP80.dll MSVCR80.dll under ~/.wine directory. Delete all you find that are not in ~/.wine/drive_c/windows/winsxs/*/ directory. And no they should not be right under ~/.wine/drive_c/windows/winsxs/. Ex:InterestedParty wrote:Well I moved them into winsxs directory, but I am not sure what to reinstall with winetricks. I installed vcrun2005 vcrun2005sp1 vcrun2008 vcrun2008sp1 tried installing vcrun2003 but that fails because of some bzip problem.
Code: Select all
find ~/.wine -iname MSVCP80.dll
/home/vitaliy/.wine/drive_c/windows/winsxs/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989/msvcp80.dll
Code: Select all
wine BFBC2Game.exe
err:service:load_reg_multisz Error 1804 while reading value L"DependOnService"
err:service:scmdatabase_load_services Error 1804 reading registry key for service L"TVersityMediaServer" - skipping
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.4053)
err:module:import_dll Library MSVCP80.dll (which is needed by L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
err:module:import_dll Library MSVCR80.dll (which is needed by L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe" failed, status c0000135
There was an update to the VC2005Redist that seems to be causing headaches on both sides of the fence.InterestedParty wrote:Hye I been getting the follow error with too many applications now. Half of the programs I try to run spew that error at me while they are said to work perfectly fine with wine.
I've installed the visual c++ applications from winetrick (or so it should have). Please help
Code: Select all
err:module:import_dll Library MSVCR80.dll (which is needed by L"Z:\\home\\IP\\.wine2\\drive_c\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
You seem to be using the wrong WINEPREFIX, use the one from /home/IP/.wineInterestedParty wrote:Should I be able to install that update into my wine directory for everything to work? I've installed visual C++ through winetricks and I'm still gettingThe only time it's found is when it is in system32, but I'm being told here to remove those. Clearly this program requires it and isn't able to find it in winsxsCode: Select all
err:module:import_dll Library MSVCR80.dll (which is needed by L"Z:\\home\\IP\\.wine2\\drive_c\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
That's because you are not LISTENING. So, shut up and listen now.Should I be able to install that update into my wine directory for everything to work? I've installed visual C++ through winetricks and I'm still getting
Code:
err:module:import_dll Library MSVCR80.dll (which is needed by L"Z:\\home\\IP\\.wine2\\drive_c\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
Code: Select all
env WINEPREFIX="/home/lun0s/.wine" wine "C:\Program Files\Electronic Arts\Battlefield Bad Company 2 - BETA\BFBC2BetaUpdater.exe"
rr:service:load_reg_multisz Error 1804 while reading value L"DependOnService"
err:service:scmdatabase_load_services Error 1804 reading registry key for service L"TVersityMediaServer" - skipping
fixme:win:EnumDisplayDevicesW ((null),0,0x32c644,0x00000000), stub!
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x1006e 0x00000000
fixme:x11drv:sync_window_opacity LWA_COLORKEY not supported
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.4053)
err:module:import_dll Library MSVCP80.dll (which is needed by L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
err:module:import_dll Library MSVCR80.dll (which is needed by L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe" failed, status c0000135
fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0x1006e
Code: Select all
$ locate msvcr80.dll | grep windows
/home/lun0s/.wine/drive_c/windows/winsxs/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd/msvcr80.dll
Code: Select all
locate msvcp80.dll | grep windows
/home/lun0s/.wine/drive_c/windows/winsxs/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd/msvcp80.dll
Did this dll get there using winetricks or did you copy the fileCode:
locate msvcp80.dll | grep windows
/home/lun0s/.wine/drive_c/windows/winsxs/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd/msvcp80.dll
Guess I had hit 'r' instead of 'p' for the above query. But there is the dll that cannot be found.
You still are not doing what we asked. Again, go back and re-read allCode:
env WINEPREFIX="/home/lun0s/.wine" wine "C:\Program Files\Electronic Arts\Battlefield Bad Company 2 - BETA\BFBC2BetaUpdater.exe"
rr:service:load_reg_multisz Error 1804 while reading value L"DependOnService"
err:service:scmdatabase_load_services Error 1804 reading registry key for service L"TVersityMediaServer" - skipping
fixme:win:EnumDisplayDevicesW ((null),0,0x32c644,0x00000000), stub!
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x1006e 0x00000000
fixme:x11drv:sync_window_opacity LWA_COLORKEY not supported
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.4053)
err:module:import_dll Library MSVCP80.dll (which is needed by L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
err:module:import_dll Library MSVCR80.dll (which is needed by L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Electronic Arts\\Battlefield Bad Company 2 - BETA\\BFBC2Game.exe" failed, status c0000135
fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0x1006e
Using the wineprefix doesn't change anything.
Code:
$ locate msvcr80.dll | grep windows
/home/lun0s/.wine/drive_c/windows/winsxs/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd/msvcr80.dll
"DO NOT install anything until you completely understand what you
are to do. You are upsetting us that do. "