ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Error while building Windows installer

From: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
Date: Fri, 2 Jul 2021 13:21:59 +0100
Reverting that change for me meant that I can run Wireshark.exe and create the NSIS installer.
I don't know if we should make this an option, or tighten up the version check to MSVC builds it is known to work for?

P.S.  I have become a little bit screenshot-happy lately :)




On Fri, Jul 2, 2021 at 11:59 AM Graham Bloice <graham.bloice@xxxxxxxxxxxxx> wrote:
I noticed this yesterday on my first build for a while and implemented a quick workaround by adding "/t:Rebuild" to the msbuild command line to force a rebuild of the world. Obviously not supportable for continued use.

I haven't had time to go back and look into the issue, my first suspicion is something to do with MR 3329, but I don't have anything to back that up.

P.S. CMD supports (and has for a long time) copy and paste of the text so no need for an image.  Highlight the text with the mouse and Ctrl + C or Enter.  Works in PowerShell as well, Windows Terminal is different (sigh) and only supports Ctrl + Shift + C.

On Fri, 2 Jul 2021 at 10:31, Martin Mathieson via Wireshark-dev <wireshark-dev@xxxxxxxxxxxxx> wrote:
I am getting this error while running:

msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj


image.png

The build itself succeeds, but the resulting Wireshark.exe won't run:

image.png

I haven't bisected to see where it first went wrong... has anyone else seen this problem?

Regards,
Martin




___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe


--
Graham Bloice
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe