WiX v4-v5 XSD schemas #7944
Replies: 3 comments 2 replies
-
XSDs live here: https://github.com/wixtoolset/web/tree/master/src/xsd4 |
Beta Was this translation helpful? Give feedback.
-
Thanks Bob. I think I knew that somewhere deep inside. Looking at https://github.com/wixtoolset/web/blob/master/src/xsd4/wix.xsd I see schema changes with notes for v5 but the schema still says v4 in the uri. Is that what I should plan for? |
Beta Was this translation helpful? Give feedback.
-
Breaking in which direction though. Consider a designer that knows how to author v3 or v4 schema. In v3 it authors the product element and in v4 it authors the package element. Along comes v5 and now there is a UpgradeStrategy attribute. How does the designer know if it's dealing with v4 or v5 if the namespace hasn't changed? It could 1: assume v5 and read/write this new attribute Of course ^^ logic would have to be implemented anywhere in the schema a change has occurred. This gets very messy fast. Would a WiXToolSetVersion attribute somewhere help this? |
Beta Was this translation helpful? Give feedback.
-
I noticed in v4 that with Votive being replaced by Heatwave that the XSDs have been moved to FireGiant repos. While this makes sense from a Heatwave installer perspective, it doesn't from a wix perspective. For example, .NET DLLs included .XML docs in their nuget packages.
The reason I ask it that it raises questions for me as a I watch the weekly meeting discussing the v5 roadmap. I need to be able to update IsWiX to support v5 changes and generally I use these .XSD files as the contract to ensure that I'm parsing and emitting valid WiX code. What's the plan here? Will Heatwave rc's release on cadence with WiX? Is the namespace changing again?
Beta Was this translation helpful? Give feedback.
All reactions