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.