Wireshark-bugs: [Wireshark-bugs] [Bug 9298] New: Wiresahrk fails to identify Windows 8.1
Date: Sun, 20 Oct 2013 17:33:01 +0000
Bug ID 9298
Summary Wiresahrk fails to identify Windows 8.1
Classification Unclassified
Product Wireshark
Version 1.11.x (Experimental)
Hardware x86
OS Windows Vista
Status UNCONFIRMED
Severity Major
Priority Low
Component Wireshark
Assignee bugzilla-admin@wireshark.org
Reporter pascal.quantin@gmail.com

Build Information:

--
As stated in bug 9297 comments #3 and #4, GetVersionEx() reports Windows 8.1 as
Windows 8 by default (see
http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx for
details).
According to
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724429%28v=vs.85%29.aspx,
proposed solutions to properly identify Windows 8.1 are:
- continue using GetVersionEx (despite the deprecate warning in MSVC2013) and
add extra info in the manifest file. It would require modifying
wireshark.exe.manifest.in and adding a manifest file for tshark, rawshark and
dumpcap
- use GetFileVersionInfo/VerQueryValue magic to retrieve the version from
Kernel32.dll
- make bisection with VerifyVersionInfo to identify the OS (seems to require
Windows 2000 at least; I guess we already gave up with earlier Windows
releases). It will require multiple calls to VerifyVersionInfo() compared to
the single GetVersionEx() call. Note that some code under MIT license can be
found here to perform the bisection for you:
https://bitbucket.org/AnyCPU/findversion


You are receiving this mail because:
  • You are watching all bug changes.