[cmake-developers] [CMake 0015784]: The WiX patch file parser ignores text nodes.

Mantis Bug Tracker mantis at public.kitware.com
Mon Oct 12 10:32:41 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15784 
====================================================================== 
Reported By:                Ronny Krüger
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15784
Category:                   CPack
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-10-12 10:32 EDT
Last Modified:              2015-10-12 10:32 EDT
====================================================================== 
Summary:                    The WiX patch file parser ignores text nodes.
Description: 
The following xml fragment is supposed to run the "test" action after the
installer has finished but only if the product is not installed.

<nowiki><code xml>
  <CPackWiXPatch>
    <CPackWiXFragment Id="#PRODUCT">
      <CustomAction Id = "test" ... />
      <InstallExecuteSequence>
        <Custom Action="test" Before="InstallFinalize">NOT INSTALLED</Custom>
      </InstallExecuteSequence>
    </CPackWiXFragment>
  </CPackWiXPatch>
</nowiki>

Unfortunately this xml does not get completely through to WiX because the patch
parser ignores the text node below the "Custom" node which contains the
conditions on which the action is to be run.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-10-12 10:32 Ronny Krüger   New Issue                                    
======================================================================



More information about the cmake-developers mailing list