From 049a89b2ce3c1035a7a73c85654230ac1ee11e70 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 6 Jun 2023 17:54:57 -0700 Subject: CMake+Windows: Use "x64" instead of "win64" Use "x64" to refer to "Windows running on 64-bit Intel processors". Get rid of WIRESHARK_TARGET_PROCESSOR_ARCHITECTURE in favor of WIRESHARK_TARGET_PLATFORM because the latter is shorter. --- packaging/nsis/CMakeLists.txt | 8 ++++---- packaging/nsis/logray-common.nsh | 4 ++-- packaging/nsis/logray-config.nsh.in | 2 +- packaging/nsis/logray.nsi | 4 ++-- packaging/nsis/wireshark-common.nsh | 4 ++-- packaging/nsis/wireshark-config.nsh.in | 2 +- packaging/nsis/wireshark.nsi | 6 +++--- 7 files changed, 15 insertions(+), 15 deletions(-) (limited to 'packaging/nsis') diff --git a/packaging/nsis/CMakeLists.txt b/packaging/nsis/CMakeLists.txt index 4afd58b131..e30eb5d875 100644 --- a/packaging/nsis/CMakeLists.txt +++ b/packaging/nsis/CMakeLists.txt @@ -119,8 +119,8 @@ endif() find_program(_vcredist NAMES - "vc_redist.${WIRESHARK_TARGET_PROCESSOR_ARCHITECTURE}.exe" # Visual Studio 2022 and later - "vcredist_${WIRESHARK_TARGET_PROCESSOR_ARCHITECTURE}.exe" # Visual Studio 2019 and earlier + "vc_redist.${WIRESHARK_TARGET_PLATFORM}.exe" # Visual Studio 2022 and later + "vcredist_${WIRESHARK_TARGET_PLATFORM}.exe" # Visual Studio 2019 and earlier PATHS "${_PROJECT_LIB_DIR}" $ENV{VCToolsRedistDir} "${VCINSTALLDIR}" PATH_SUFFIXES ${_ws_vcredist_subdir} ${_ms_vcredist_subdir} NO_DEFAULT_PATH @@ -396,12 +396,12 @@ set(CLEAN_FILES #NEWS.txt #user-guide.chm ${DATAFILE_DIR}/uninstall-wireshark.exe - wireshark-${VERSION}-${WIRESHARK_TARGET_PROCESSOR_ARCHITECTURE}.exe + wireshark-${VERSION}-${WIRESHARK_TARGET_PLATFORM}.exe wireshark-config.nsh wireshark-manifest.nsh wireshark-qt-manifest.nsh ${DATAFILE_DIR}/uninstall-logray.exe - logray-${VERSION}-${WIRESHARK_TARGET_PROCESSOR_ARCHITECTURE}.exe + logray-${VERSION}-${WIRESHARK_TARGET_PLATFORM}.exe logray-config.nsh logray-manifest.nsh logray-qt-manifest.nsh diff --git a/packaging/nsis/logray-common.nsh b/packaging/nsis/logray-common.nsh index 6f1c81c076..4eaacd5cae 100644 --- a/packaging/nsis/logray-common.nsh +++ b/packaging/nsis/logray-common.nsh @@ -20,7 +20,7 @@ ManifestDPIAware true !include "logray-config.nsh" -!define DISPLAY_NAME "${PROGRAM_NAME} ${VERSION} ${WIRESHARK_TARGET_PROCESSOR_ARCHITECTURE}" +!define DISPLAY_NAME "${PROGRAM_NAME} ${VERSION} ${WIRESHARK_TARGET_PLATFORM}" Name "${DISPLAY_NAME}" !define PROGRAM_FULL_NAME "The ${PROGRAM_NAME} Log Analyzer" @@ -34,7 +34,7 @@ VIAddVersionKey "CompanyName" "${PROGRAM_NAME} development team" ; NSIS handles U+00a9 but not a UTF-8 encoded copyright symbol. VIAddVersionKey "LegalCopyright" "${U+00a9} Gerald Combs and many others" VIAddVersionKey "LegalTrademarks" "Logray and the 'ray' logo are registered trademarks" -VIAddVersionKey "FileDescription" "${PROGRAM_NAME} installer for Windows on ${WIRESHARK_TARGET_PROCESSOR_ARCHITECTURE}" +VIAddVersionKey "FileDescription" "${PROGRAM_NAME} installer for Windows on ${WIRESHARK_TARGET_PLATFORM}" VIAddVersionKey "Language" "English" VIAddVersionKey "ProductVersion" "${PRODUCT_VERSION}" VIAddVersionKey "FileVersion" "${PRODUCT_VERSION}" diff --git a/packaging/nsis/logray-config.nsh.in b/packaging/nsis/logray-config.nsh.in index 7d1710f00a..b08327221f 100644 --- a/packaging/nsis/logray-config.nsh.in +++ b/packaging/nsis/logray-config.nsh.in @@ -7,7 +7,7 @@ # MUST match "