mumble/cmake
Davide Beatrici 847bdb7079 FIX(cmake): set CMAKE_WIX_UPGRADE_GUID and generate CMAKE_WIX_PRODUCT_GUID
This commit fixes two issues:

1. The installer ignoring Mumble < 1.4.0 installations. This resulted in two separate entries in the installed programs list and a cluttered installation folder.
2. The installer thinking that the product is already installed even if it's a different build.

The first problem was caused by CMAKE_WIX_UPGRADE_GUID being explicitely set to a wrong value, due to an extra line in the file.

The second problem was caused by CMAKE_WIX_PRODUCT_GUID being explicitely set to a static value due to us misunderstanding the "ProjectGuid" variable in the WiX project we used until 1.4.0.
We thought it referred to the MSI product GUID, but instead it's just the MSBuild project identifier.
Also, CMake's WiX documentation clearly says that the installer will abort if it detects a pre-existing installation that uses the same GUID: https://cmake.org/cmake/help/latest/cpack_gen/wix.html#variable:CPACK_WIX_PRODUCT_GUID
2020-08-11 04:03:16 +02:00
..
FindModules Add CMake functions and modules 2020-07-11 19:34:49 +02:00
compiler.cmake Error on unknown architecture 2020-07-11 23:33:25 +02:00
os.cmake Add CMake functions and modules 2020-07-11 19:34:49 +02:00
packaging.cmake FIX(cmake): set CMAKE_WIX_UPGRADE_GUID and generate CMAKE_WIX_PRODUCT_GUID 2020-08-11 04:03:16 +02:00
pkg-utils.cmake Add CMake functions and modules 2020-07-11 19:34:49 +02:00
project-utils.cmake MAINT(cmake): Only return compilable targets 2020-08-10 20:57:39 +02:00
qt-utils.cmake Add CMake functions and modules 2020-07-11 19:34:49 +02:00