We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 087b4b1 commit 9f2c0a3Copy full SHA for 9f2c0a3
packaging/WiX/wix_setup.cmake
@@ -45,3 +45,22 @@ ELSE ()
45
ENDIF ($ENV{WIX_DIR})
46
ENDIF ()
47
48
+
49
+# Check WIX extensions, our MSI build requires UI and Util from WixToolset.
50
51
+message(STATUS "==Installed WiX extensions")
52
+execute_process(
53
+ COMMAND ${WIX_EXECUTABLE} extension list
54
+ OUTPUT_VARIABLE wix_extension
55
+)
56
+message(STATUS "==========================")
57
58
+if(
59
+ NOT wix_extensions MATCHES "WixToolset.UI.wixext"
60
+ OR NOT wix_extensions MATCHES "WixToolset.Util.wixext"
61
62
+ message(SEND_ERROR
63
+ "Required WiX extensions not detected (WixToolset.UI/Util)"
64
+ )
65
+endif()
66
0 commit comments