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 |
3 Answers:
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 |
The installer creates a number of keys under
or
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 Combs ♦♦ |
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 ♦♦ |