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

Where is Wireshark version data stored?

0

I'm trying to write a script to determine what version of Wireshark is running on a system and install the current version if it's not already running. What I need to know is where is the version data stored on a Windows system? I have checked the registry key where most programs have it stored and it's not there.

asked 13 Jun '13, 13:22

zinger's gravatar image

zinger
1111
accept rate: 0%


3 Answers:

1

Invoking wireshark -v from command line(provided the path is already added in environment variables) will let you know the current version.

answered 13 Jun '13, 13:47

krishnayeddula's gravatar image

krishnayeddula
629354148
accept rate: 6%

1

The installer creates a number of keys under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wireshark

or

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Wireshark

depending on the registry's bittedness from where you're standing. You should be able to get the version from "DisplayVersion"

answered 13 Jun '13, 14:03

Gerald%20Combs's gravatar image

Gerald Combs ♦♦
3.3k92258
accept rate: 24%

1

Maybe this can be made easier, since Wireshark 1.10, the windows version has the option to check for updates ("Help" -> "Check for updates").

Maybe it's a good idea to add a command line option to Wireshark to do the check (or even do the upgrade automatic)?

answered 13 Jun '13, 14:25

SYN-bit's gravatar image

SYN-bit ♦♦
17.1k957245
accept rate: 20%