File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff 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 : |
Original file line number Diff line number Diff line change @@ -190,6 +190,8 @@ endif()
190190# We want to generate an installer on Windows.
191191if (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 )
193195endif ()
194196set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING )
195197
You can’t perform that action at this time.
0 commit comments