Everything crash after installing MS Visual C++ Runtime

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
el.il
Level 1
Level 1
Posts: 9
Joined: Sun Aug 03, 2008 4:54 am

Everything crash after installing MS Visual C++ Runtime

Post by el.il »

I installed MS Visual C++ Runtime, and now almost every software that I try to run on wine crashes.
How do I remove the Runtime? can someone give me a link to the orignal wine dll (I think it is msvcrt.dll) to fix this problem?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Everything crash after installing MS Visual C++ Runtime

Post by vitamin »

el.il wrote:I installed MS Visual C++ Runtime, and now almost every software that I try to run on wine crashes.
How do I remove the Runtime? can someone give me a link to the orignal wine dll (I think it is msvcrt.dll) to fix this problem?
Please post terminal output of the crash.
John Drescher

Everything crash after installing MS Visual C++ Runtime

Post by John Drescher »

can someone give me a link to the orignal wine dll (I think it is msvcrt.dll) to fix this problem?
Installing a dll by just copying the file in most cases will not work.
It definitely will not work for the vs2005 and greater runtimes.

John
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Everything crash after installing MS Visual C++ Runtime

Post by DanKegel »

The easiest way to fix problems like this is to start over with a clean .wine directory and reinstall your apps.

Why did you want to install a native visual C++ runtime?

If you absolutely have to do it, the safest way is probably to use winetricks, see http://wiki.winehq.org/winetricks
el.il
Level 1
Level 1
Posts: 9
Joined: Sun Aug 03, 2008 4:54 am

Post by el.il »

I used winetricks to install Visual C++ runtime, because I wanted to check if it will make Messenger run. now messenger opens, but the window is white and empty. there is no way to reinstall the original wine dll?
John Drescher

Everything crash after installing MS Visual C++ Runtime

Post by John Drescher »

I used winetricks to install Visual C++ runtime, because I wanted to check if it will make Messenger run. now messenger opens, but the window is white and empty. there is no way to reinstall the original wine dll?
You can delete your ~/.wine and reinstall whatever windows
applications you have installed.

John
el.il
Level 1
Level 1
Posts: 9
Joined: Sun Aug 03, 2008 4:54 am

Post by el.il »

Is that the only way?

edit:
OK, I found the way to fix that: I just had to create a new wine prefix, and copy whole system32 folder form there to the old wine prefix.
Locked