Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Distributing a wireshark dissector

From: Pascal Heude <pascalheude@xxxxxxxxxxx>
Date: Thu, 15 Nov 2007 22:08:40 +0100
You can create an installer (with NSIS for example) that can call theWireshark installer and then copy the dll in the plugin directory ofthe just installed wireshark (as wireshark does it to install thewinpcap).

Pascal

Anders Broman a écrit :
Hi,
Do you build with VC6? If not that's probablythe cause of the problem.
Regards
Anders


From:wireshark-dev-bounces@xxxxxxxxxxxxx[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of EytanKidron
Sent: den 15 november 2007 15:21
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] Distributing a wireshark dissector

Hi,

I have a questionconcerning the creation and distribution of dissectors.

I created a dissectorusing a tutorial which I found in http://www.codeproject.com/useritems/custom_dissector.asp,and now I have a dll called my-protocol.dll.

I am not interested, atthis point, in distributing this dissector to the general public, but Iam interested in distributing it within my organization. I found that Icould do that by creating a wireshark installer (see step 12 in thelink above).

When others in myorganization executed this installer and copied the dll to theappropriate place, they could use the dissector. The problem with thatis that whenever a new version of wireshark is released, my dissectorwill obviously not be there, and if somespan wants some feature from anewer wireshark version and also wants my dissector, they need twoseparate wireshark installations.

My question is:

Is it possible to add anew dissector to an existing wireshark without having to reinstall itor install a separate instance of wireshark?

One might expect that Icould simply copy my-protocol.dll to the folder where all the otherdlls are, but when I tried to do this I got an error in loading a Cruntime library (incidentally, I am working on Windows XP). Is thatsupposed to work?

I don't mind the users inmy organization having to do something extra (like copying a dll) everytime they update their wireshark, if they want to use this dissector,but I don’t want to need to create a new installer whenever a newwireshark version is released.

I would be grateful ifanyone could help me with this.

Thanks,

Eytan


_______________________________________________Wireshark-dev mailing listWireshark-dev@xxxxxxxxxxxxxhttp://www.wireshark.org/mailman/listinfo/wireshark-dev



Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail et bénéficiez de 5 Go de stockage ! Windows Live Hotmail