build: Fix WiX patch

This commit is contained in:
WerWolv
2025-12-08 21:26:18 +01:00
parent ab0fb3131d
commit 4914a34dd9
2 changed files with 9 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<CPackWiXPatch>
<CPackWiXFragment Id="CM_CP_bin.libwinpthread_1.dll">
<File Id="CM_FP_bin.libwinpthread_1.dll"
CompanionFile="CM_FP_bin.your_main_executable.exe"/>
<!-- libwinpthread has a bogus FILEVERSION field that's hardcoded to 1.0.0.0. Ignore it and always install it-->
<CPackWiXFragment Id="CM_FP_libwinpthread_1.dll">
<File Id="CM_FP_libwinpthread_1.dll"
CompanionFile="CM_FP_imhex.exe"/>
</CPackWiXFragment>
</CPackWiXPatch>