The ~= operator is only valid in conditions.See https://msdn.microsoft.com/en-us/library/windows/desktop/aa368012(v=vs.85).aspx --Independent WiX Expert. Creator of- https://JetBA.net - Native and WPF WiX BootstrapperApplication Frameworks