1
0
Эх сурвалжийг харах

CMakeCPack: Provide an upgrade guid for WiX

Set CPACK_WIX_UPGRADE_GUID.  Without this upgrade GUID, you end up with
multiple instances of the same installation when installing cmake from a
WIX generated installer.
Richard Ulrich 12 жил өмнө
parent
commit
155bb01bd5
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      CMakeCPack.cmake

+ 2 - 0
CMakeCPack.cmake

@@ -113,6 +113,8 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
     include(Utilities/Release/Cygwin/CMakeLists.txt)
   endif()
 
+  set(CPACK_WIX_UPGRADE_GUID "8ffd1d72-b7f1-11e2-8ee5-00238bca4991")
+
   # Set the options file that needs to be included inside CMakeCPackOptions.cmake
   set(QT_DIALOG_CPACK_OPTIONS_FILE ${CMake_BINARY_DIR}/Source/QtDialog/QtDialogCPack.cmake)
   configure_file("${CMake_SOURCE_DIR}/CMakeCPackOptions.cmake.in"