Wireshark-dev: Re: [Wireshark-dev] Building Wireshark on Windows

From: David Ameiss <netshark@xxxxxxxxxxxxx>
Date: Wed, 14 Nov 2012 08:34:47 -0600
On 11/14/2012 08:00 AM, Jeff Morriss wrote:
David Ameiss wrote:
"file wireshark-gtk2/wireshark.exe" returns "PE32+ executable (GUI)
x86-64, for MS Windows"

I believe the stackoverflow article is essentially the instructions
found in
http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html,
which I followed. It's certainly possible I missed a step somewhere,
but (1) the generated installer installs fine on Windows 7, and
installs into the "Program Files" directory (rather than "Program
Files (x86)", implying that it's a 64-bit app), and (2) it runs on
Windows 7 with no problems.

Well, but the error message you quoted was "Wireshark is not a valid
Win32 Application."

That implies to me that the OS in question (XP or Windows 7) is a 32-bit
app whereas it appears you've built a 64-bit app.

Actually, the OS in question are Vista and XP. I'm working with a Vista system at the moment. And it *is* 64-bit, as I can install the official Windows 64-bit wireshark package and run it.

--
David Ameiss
netshark@xxxxxxxxxxxxx