Wireshark-dev: Re: [Wireshark-dev] Missing msvcr80.dll

From: "Kuzmits, Matthias" <matthias.kuzmits@xxxxxxxxxxx>
Date: Fri, 30 Mar 2007 09:33:56 +0200
Hi Ronaldo
 
Last week I was triying the same and had the same results as you. The problem is that MS doesn't provide a redistributable (vcredist_x86.exe) which fits to the actual compiler version.
 
Right now I have only a workaround after the installation.
In the wireshark directory you will find some *.manifest files which you have to modify according your system. Within the systemdirectory(C:\WIndows) you can find a subdirectory "WinSxS" and this contains a subdir for each msvcr... version. In may case and I believe in your case the actual version is x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd but is is compiled with a version *8.0.50727.272*.
 
What you have to do is to change the name inthe manifest files so that they fit to your system.
Attached are my modified versions which worked on my system.
 
Matthias
 


Von: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] Im Auftrag von Ronaldo Tomazeli Duarte
Gesendet: Freitag, 30. März 2007 07:24
An: Developer support list for Wireshark
Betreff: [Wireshark-dev] Missing msvcr80.dll

Hi list,

I have some trouble running a version that I compiled of Wireshark:

- compiled on XP SP2, using Visual Studio 2005 Express.
- after compiling, I copied the Wireshark.exe from the build folder to the Program Files\Wireshark folder.
- when I try to launch it, Windows warns me about the missing msvcr80.dll.

I did a little research on the list about this issue, and all I could get is that I would need to download the Visual C++ 2005 redistributables if I am trying to run Wireshark on a machine without Visual Studio installed. The fact is that I'm trying to run it in my development machine. Anyhow, I installed the redistributables and had no success also. Any clues of what am I doing wrong?

Thanks,

Ronaldo

BTW: the .exe I compiled is approximately half the size of the .exe copied by the Wireshark installer. Is the latter one statically linked to the runtime?

Attachment: VC2005EE-manifest.zip
Description: VC2005EE-manifest.zip