Skip to content

Commit 5e320b0

Browse files
committed
packaging/WiX: Remove wix extensions check as it is not realiable
1 parent 2020c42 commit 5e320b0

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

packaging/WiX/wix_setup.cmake

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,3 @@ ELSE ()
4444
MESSAGE(FATAL_ERROR "Cannot find Wix in ${WIX_DIR}. Please set environment variable WIX_DIR which points to the wix installation directory")
4545
ENDIF ($ENV{WIX_DIR})
4646
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

Comments
 (0)