Skip to content

Commit 2654e33

Browse files
committed
Bug#31922612 UPDATE WIX VERSION USED TO CREATE MSI PACKAGES
Do not use WiX version 3, 3.5, or 3.6. Use version 3.8 or 3.10. When searching for heat.exe, look both in the top level of the WiX package and under bin/. Reviewed-by: Thomas Neilsen <[email protected]>
1 parent 4b902ef commit 2654e33

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

packaging/WiX/CMakeLists.txt

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License, version 2.0,
@@ -26,19 +26,14 @@ ENDIF()
2626

2727
FIND_PATH(WIX_DIR heat.exe
2828
$ENV{WIX_DIR}/bin
29+
$ENV{WIX_DIR}
2930
$ENV{ProgramFiles}/wix/bin
30-
"$ENV{ProgramFiles}/Windows Installer XML v3/bin"
31-
"$ENV{ProgramFiles}/Windows Installer XML v3.5/bin"
32-
"$ENV{ProgramFiles}/WiX Toolset V3.6/bin"
33-
"$ENV{ProgramFiles}/WiX Toolset V3.8/bin"
31+
"$ENV{ProgramFiles}/WiX Toolset V3.8/bin"
32+
"$ENV{ProgramFiles}/WiX Toolset V3.8"
33+
"$ENV{ProgramFiles}/WiX Toolset V3.10/bin"
34+
"$ENV{ProgramFiles}/WiX Toolset V3.10"
3435
)
3536

36-
IF(NOT WIX_DIR)
37-
FIND_PATH(WIX_DIR heat.exe
38-
"$ENV{ProgramFiles}/WiX Toolset V3.10/bin"
39-
)
40-
ENDIF()
41-
4237
IF(NOT WIX_DIR)
4338
IF(NOT _WIX_DIR_CHECKED)
4439
SET(_WIX_DIR_CHECKED 1 CACHE INTERNAL "")

0 commit comments

Comments
 (0)