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] Creating an installer package which should install only my p

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Tue, 21 Oct 2008 10:12:22 -0700
Wasiq md wrote:
> Hello All,
>  
> I am done creating a new dissector. I wanted to know how can I create a
> installer package in windows which will install and uninstall only my
> plugin.

On Windows, Wireshark looks for plugins in two places: its installation
directory ("$INSTDIR\plugins\$VERSION") and the user's personal plugin directory
(%APPDATA%\Wireshark\plugins).

If you want to put the plugin in Wireshark's installation directory you can
fetch "$INSTDIR" from

HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\wireshark.exe\Path

and $VERSION from

HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Wireshark\DisplayVersion

We use NSIS to create the Wireshark installer, but this isn't required for your
plugin.