How can I use bindpaths to create a WiX Patch?
问题 I'm using cmake/cpack to build my project with WiX. cmake runs heat.exe (or something similar) which produces files.wxs that contains the files of my project in the following format: We'll assume a single file named a.txt inside a folder named "bin". The project is built in NewFolder on the Desktop. <DirectoryRef Id="CM_DP_bin"> <Component Id="CM_CP_bin.a.txt" Guid="*"> <File Id="CM_FP_bin.a.txt" Source="C:/Users/mindlessbot/Desktop/NewFolder/_CPack_Packages/WIX/packageName/bin/a.txt" KeyPath