Wireshark-dev: Re: [Wireshark-dev] Creating a Wireshark installer with my dissector in it

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Wed, 09 Jun 2010 12:57:15 -0700
Brian Oleksa wrote:
> All
> 
> I have created a wireshark dissector and it works great. When I am out 
> in the field I like to use this dissector. But first I have to install 
> wireshark on each laptop then drop my .dll in the plugins directory.
> I am just trying to cut out a step and create the installer with my 
> dissector in place but I cannot get it to work. I can successfully 
> create the installer... but my dissector is not included in it.
> 
> I have followed the instructions on this site (section 2.2.13).
> http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html
> 
> My checked out wireshark code is in:    c:\wireshark\trunk    and my 
> plugin is in the plugins directory with all the other plugins:   
> C:\wireshark\trunk\plugins
> 
> When I run the following
> 
> C:\wireshark\trunk>nmake -f Makefile.nmake packaging
> 
> I get NO errors and it does indeed create the installer in the following 
> directory    C:\wireshark\trunk\packaging\nsis
> 
> But it does NOT include my dissector when I install it.
> 
> I have edited the Makefile.nmake in the nsis directory to include my 
> plugins .dll file (but that didn't work)
> 
> I have also edited the Makefile.nmake in the plugins directory to 
> include my plugins .dll file (but that didn't work either).
> 
> Does anybody know WHY this is not working..??

Have you added your plugin to packaging/nsis/custom_plugins.txt?

-- 
Join us for Sharkfest ’10! · Wireshark® Developer and User Conference
Stanford University, June 14-17 · http://www.cacetech.com/sharkfest.10/