Skip to content

Commit 123adea

Browse files
committed
Switch to WIX
1 parent 57898d9 commit 123adea

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/release-binaries.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,15 @@ jobs:
252252
fi
253253
echo "build-prefix=$build_prefix" >> $GITHUB_OUTPUT
254254
255+
# We will use Wix to generate the installer on Windows, because this
256+
# reportedly works better with larger installers, though, I haven't actually
257+
# seen an installer > 2GB, which is the limit for default installer
258+
# generator.
259+
- name: Install Wix
260+
if: runner.os == 'Windows'
261+
run: |
262+
dotnet tool install --global wix
263+
255264
- name: Install libxml2 for Windows
256265
if: runner.os == 'Windows' && false
257266
run: |

clang/cmake/caches/Release.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ endif()
190190
# We want to generate an installer on Windows.
191191
if(NOT ${CMAKE_HOST_SYSTEM_NAME} MATCHES "Windows")
192192
set_final_stage_var(CPACK_GENERATOR "TXZ" STRING)
193+
else()
194+
set_final_stage_var(CPACK_GENERATOR "WIX" STRING)
193195
endif()
194196
set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING)
195197

0 commit comments

Comments
 (0)