Replies: 1 comment 3 replies
-
|
For MSP/hotfix servicing, the safe rule is: do not let harvesting change component identity after RTM.
For a long-term hotfix model I would use this order of preference: If you use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi everyone,
I’m trying to clarify the recommended approach for handling files in WiX when building hotfixes/patches (MSP)—specifically whether to use
heat.exe(harvesting) or the newerFileselement.Context
For hotfixes, component GUID stability is non-negotiable. Any change in GUIDs (or component structure) can break patch applicability or cause repair/reinstall issues.
Both
heat.exeandFilesmake file inclusion easier, but they also introduce some uncertainty around how GUIDs are generated and maintained over time.My questions
Between
heat.exevsFileselement, which is safer/recommended for patch-friendly authoring?How does the
Fileselement handle component GUID generation and persistence across builds?Is it safe to rely on either of these in a long-term servicing model (RTM → updates → hotfixes)?
What are the best practices here:
Filesbut explicitly control GUIDs?My current understanding (please correct me if I’m off)
heat.exewith-gg) are not suitable for patchesIf anyone has experience using:
Fileselement or heat in WiX for patch scenariosI’d really appreciate your guidance or examples.
Thanks!
Open Source Maintenance Fee
wixtoolsetproject because I support the maintainers.Beta Was this translation helpful? Give feedback.
All reactions