MantisBT - CMake
View Issue Details
0015185CMakeCPackpublic2014-10-01 11:092015-07-08 08:57
Richard Ulrich 
Nils Gladitz 
normalfeaturealways
closedfixed 
CMake 3.0.2 
CMake 3.3 
0015185: Allow for partial customization of WiX.template.in
At the moment I have my own copy of WiX.template.in in my project specific Modules directory.
In the discussion of http://public.kitware.com/Bug/view.php?id=15165 [^] I realized that it would be beneficial, if there was a way to only extend WiX.template.in without having to completely maintain it myself.

* One approach would be to include a custom.wxi file in WiX.template.in and ship an empty custom.wxi file that could be overridden.
* Another approach would be to extend the patching mechanism to the <Product> tag. As at the moment it only work on tags that are generated by the cpack c++ code, it's not just a matter of adding an ApplyPatch() line in the correct place.

Things I customized in my WiX.template.in:
* Product.Language="!(loc.LANG)"
  -> this could be tricky. It's not covered by both of the above approaches.
  -> shipping also a default lang.wxl file could make it work.
* Adding Components or ComponentRefs that need to be in the Product tag.
  -> this is the easy part, solved by both approaches.
* Adding a second UiRef (WixUI_ErrorProgressText)
No tags attached.
Issue History
2014-10-01 11:09Richard UlrichNew Issue
2014-10-01 11:12Nils GladitzAssigned To => Nils Gladitz
2014-10-01 11:12Nils GladitzStatusnew => assigned
2015-02-16 10:45Nils GladitzNote Added: 0037982
2015-02-16 10:45Nils GladitzStatusassigned => resolved
2015-02-16 10:45Nils GladitzFixed in Version => CMake 3.3
2015-02-16 10:45Nils GladitzResolutionopen => fixed
2015-07-08 08:57Robert MaynardNote Added: 0039052
2015-07-08 08:57Robert MaynardStatusresolved => closed

Notes
(0037982)
Nils Gladitz   
2015-02-16 10:45   
Implemented by http://www.cmake.org/gitweb?p=cmake.git;a=commit;h=a2ccbffd [^]
(0039052)
Robert Maynard   
2015-07-08 08:57   
Closing resolved issues that have not been updated in more than 4 months.