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

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%


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

permanent link

answered 13 Jun '13, 13:47

krishnayeddula's gravatar image

krishnayeddula
629354148
accept rate: 6%

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"

permanent link

answered 13 Jun '13, 14:03

Gerald%20Combs's gravatar image

Gerald Combs ♦♦
3.3k92258
accept rate: 24%

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)?

permanent link

answered 13 Jun '13, 14:25

SYN-bit's gravatar image

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

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×254
×31
×29

question asked: 13 Jun '13, 13:22

question was seen: 3,486 times

last updated: 13 Jun '13, 14:25

p​o​w​e​r​e​d by O​S​Q​A