This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How to add extra file to Wireshark folder for plugin

0

I have a plugin for Wireshark that works when copying my files to

C:\Program Files\Wireshark\plugins\MyPlugin\myplugin.dll

C:\Program Files\Wireshark\myplug.dll (required for myplugin.dll to actually work - by design)

Now I want to build my plugin as part of Wireshark. The myplug.obj, myplug.lib (needed by myplugin.dll to built), and myplug.dll are located outside of the C:\wireshark-trunk and everything is built correctly but I cannot get myplug.dll copied into the wireshark folder during initial build.

What file(s) do I need to look at to include myplug.dll for packaging?

Thanks, Michael

asked 05 Nov '10, 13:11

Michael%20Wells's gravatar image

Michael Wells
1112
accept rate: 0%

edited 08 Nov '10, 06:03


One Answer:

0
  1. to get them copied during the build, adapt plugins/Makefile.nmake, the code for target install-plugins
  2. to get them packaged adapt packaging/nsis/wireshark.nsi section SecPlugins

answered 05 Nov '10, 14:25

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

Thank you, I have already modified all the files including the two you mentioned.
The build and installer correctly get myplugin.dll but I have not found a way to get myplug.dll (notice the difference in name) copied into the install dir of Wireshark during build.install time. I still need to copy that one manually.

(08 Nov '10, 06:18) Michael Wells