From 16b27ad924168718a7216f42dde71e6322731ddb Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Fri, 1 Nov 2013 17:02:39 +0000 Subject: Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9298 : Update manifest file so as to identify Windows 8.1 properly (see http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx for details) Use manifest file to build tshark, rawshark and dumpcap svn path=/trunk/; revision=53024 --- image/Makefile.nmake | 6 +++--- image/dumpcap.rc.in | 5 +++++ image/rawshark.rc.in | 5 +++++ image/tshark.rc.in | 5 +++++ image/wireshark.exe.manifest.in | 22 ++++++++++++++++++++++ 5 files changed, 40 insertions(+), 3 deletions(-) (limited to 'image') diff --git a/image/Makefile.nmake b/image/Makefile.nmake index 1746edc404..59af328960 100644 --- a/image/Makefile.nmake +++ b/image/Makefile.nmake @@ -26,12 +26,12 @@ libwireshark.rc: libwireshark.rc.in ..\config.nmake -e s/@RC_VERSION@/$(RC_VERSION)/ \ < libwireshark.rc.in > $@ -tshark.rc : tshark.rc.in ..\config.nmake +tshark.rc : tshark.rc.in wireshark.exe.manifest ..\config.nmake sed -e s/@VERSION@/$(VERSION)/ \ -e s/@RC_VERSION@/$(RC_VERSION)/ \ < tshark.rc.in > $@ -rawshark.rc : rawshark.rc.in ..\config.nmake +rawshark.rc : rawshark.rc.in wireshark.exe.manifest ..\config.nmake sed -e s/@VERSION@/$(VERSION)/ \ -e s/@RC_VERSION@/$(RC_VERSION)/ \ < rawshark.rc.in > $@ @@ -71,7 +71,7 @@ libwsutil.rc : libwsutil.rc.in ..\config.nmake -e s/@RC_VERSION@/$(RC_VERSION)/ \ < libwsutil.rc.in > $@ -dumpcap.rc : dumpcap.rc.in ..\config.nmake +dumpcap.rc : dumpcap.rc.in wireshark.exe.manifest ..\config.nmake sed -e s/@VERSION@/$(VERSION)/ \ -e s/@RC_VERSION@/$(RC_VERSION)/ \ < dumpcap.rc.in > $@ diff --git a/image/dumpcap.rc.in b/image/dumpcap.rc.in index a395dcc669..d3a7e71e5f 100644 --- a/image/dumpcap.rc.in +++ b/image/dumpcap.rc.in @@ -34,3 +34,8 @@ BEGIN VALUE "Translation", 0x409, 1200 END END + +#define MANIFEST_RESOURCE_ID 1 +#define RT_MANIFEST 24 + +MANIFEST_RESOURCE_ID RT_MANIFEST "wireshark.exe.manifest" diff --git a/image/rawshark.rc.in b/image/rawshark.rc.in index 0d5c21ed4f..47afa8517a 100644 --- a/image/rawshark.rc.in +++ b/image/rawshark.rc.in @@ -34,3 +34,8 @@ BEGIN VALUE "Translation", 0x409, 1200 END END + +#define MANIFEST_RESOURCE_ID 1 +#define RT_MANIFEST 24 + +MANIFEST_RESOURCE_ID RT_MANIFEST "wireshark.exe.manifest" diff --git a/image/tshark.rc.in b/image/tshark.rc.in index ed3b162ee3..7e61e6fd06 100644 --- a/image/tshark.rc.in +++ b/image/tshark.rc.in @@ -34,3 +34,8 @@ BEGIN VALUE "Translation", 0x409, 1200 END END + +#define MANIFEST_RESOURCE_ID 1 +#define RT_MANIFEST 24 + +MANIFEST_RESOURCE_ID RT_MANIFEST "wireshark.exe.manifest" diff --git a/image/wireshark.exe.manifest.in b/image/wireshark.exe.manifest.in index 357dc47b97..3b80f8c699 100644 --- a/image/wireshark.exe.manifest.in +++ b/image/wireshark.exe.manifest.in @@ -19,4 +19,26 @@ /> + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3