CPACK_WIX_PATCH_FILE file with BOM leads - error message doesn't really help
There should either be a speaking error message or support for skipping the BOM
currently you only get something like this 1:1: unclosed token
if your wix patch file contains a BOM