Just to clarify how to avoid new GUIDs every build when using Heat: Suppress generating new GUIDs when using Heat. Then WiX Candle instead create GUIDs which has a more stable mechanism. This can be archive by using AutogenerateGuids="True (should be -ag parameter on command line). So Heat should generate fragments including Guid ="*".