From 1ee2fe33eade8b49fe2ec96655e98c9d5e462355 Mon Sep 17 00:00:00 2001 From: anatoly-os Date: Wed, 6 May 2020 15:45:53 +0200 Subject: [PATCH] fix alpha release Alpha release installer replaced public stable release on Windows --- .appveyor.yml | 2 +- build/Packaging.cmake | 20 ++++++++++---------- build/packaging/WIX.template.in | 10 ++++++---- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index f7c5710e7aa36..1fba476be58df 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -9,7 +9,7 @@ image: Visual Studio 2019 branches: only: - master - - 3.5alpha + - 3.5alpha2 # build cache to preserve files/folders between builds cache: diff --git a/build/Packaging.cmake b/build/Packaging.cmake index 7e833441d8f65..1ee9c21551b1d 100644 --- a/build/Packaging.cmake +++ b/build/Packaging.cmake @@ -50,21 +50,21 @@ IF(MINGW OR MSVC) SET(CPACK_STRIP_FILES "${MSCORE_EXECUTABLE_NAME}.exe") # File types association: - SET(CPACK_NSIS_DEFINES "!include ${PROJECT_SOURCE_DIR}/build/packaging\\\\FileAssociation.nsh") + # SET(CPACK_NSIS_DEFINES "!include ${PROJECT_SOURCE_DIR}/build/packaging\\\\FileAssociation.nsh") - SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " - \\\${registerExtension} \\\"MuseScore File\\\" \\\".mscx\\\" \\\"\\\$INSTDIR\\\\bin\\\\${MSCORE_EXECUTABLE_NAME}.exe\\\" - \\\${registerExtension} \\\"Compressed MuseScore File\\\" \\\".mscz\\\" \\\"\\\$INSTDIR\\\\bin\\\\${MSCORE_EXECUTABLE_NAME}.exe\\\" - ") - SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS " - \\\${unregisterExtension} \\\".mscx\\\" \\\"MuseScore File\\\" - \\\${unregisterExtension} \\\".mscz\\\" \\\"Compressed MuseScore File\\\" - ") + # SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " + # \\\${registerExtension} \\\"MuseScore File\\\" \\\".mscx\\\" \\\"\\\$INSTDIR\\\\bin\\\\${MSCORE_EXECUTABLE_NAME}.exe\\\" + # \\\${registerExtension} \\\"Compressed MuseScore File\\\" \\\".mscz\\\" \\\"\\\$INSTDIR\\\\bin\\\\${MSCORE_EXECUTABLE_NAME}.exe\\\" + # ") + # SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS " + # \\\${unregisterExtension} \\\".mscx\\\" \\\"MuseScore File\\\" + # \\\${unregisterExtension} \\\".mscz\\\" \\\"Compressed MuseScore File\\\" + # ") file(TO_CMAKE_PATH $ENV{PROGRAMFILES} PROGRAMFILES) SET(CPACK_WIX_ROOT "${PROGRAMFILES}/WiX Toolset v3.11") SET(CPACK_WIX_PRODUCT_GUID "00000000-0000-0000-0000-000000000000") - SET(CPACK_WIX_UPGRADE_GUID "4975850F-912F-47AE-AF2C-65C592188FCE") + SET(CPACK_WIX_UPGRADE_GUID "301B470A-5AC4-43B3-A71F-F8C68796096A") SET(CPACK_WIX_LICENSE_RTF "${PROJECT_SOURCE_DIR}/LICENSE.rtf") SET(CPACK_WIX_PRODUCT_ICON "${PROJECT_SOURCE_DIR}/mscore/data/mscore.ico") SET(CPACK_WIX_UI_BANNER "${PROJECT_SOURCE_DIR}/build/packaging/installer_banner_wix.png") diff --git a/build/packaging/WIX.template.in b/build/packaging/WIX.template.in index cce74e66838f6..70a4a2368aa7c 100644 --- a/build/packaging/WIX.template.in +++ b/build/packaging/WIX.template.in @@ -74,14 +74,15 @@ - + - + @@ -121,7 +122,7 @@ - +