[cmake-developers] [CMake 0014890]: cpack, wix, It's not possible to patch directories (patch attached)

Mantis Bug Tracker mantis at public.kitware.com
Fri Apr 18 11:23:35 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14890 
====================================================================== 
Reported By:                Nicolas H.
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14890
Category:                   CPack
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-04-18 11:23 EDT
Last Modified:              2014-04-18 11:23 EDT
====================================================================== 
Summary:                    cpack, wix,  It's not possible to patch directories
(patch attached)
Description: 
on git/master/cmake 3.0 
I want to create a shortcut in the startup menu, i have to declare 
<Directory Id="StartupFolder" Name="Startup"/> 
on TARGETDIR. 
I'm not able to do that as directory cannot be patched

Steps to Reproduce: 
add SET(CPACK_WIX_PATCH_FILE test.xml)

in test.xml put 
<CPackWiXPatch>
<CPackWiXFragment Id="TARGETDIR">
    <Directory Id="StartupFolder" Name="Startup"/> 
</CPackWiXFragment>
</CPackWiXPatch>

directories.xml is not patched.

Additional Information: 
please be nice, it's the first time i contribute to cmake :-)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-04-18 11:23 Nicolas H.     New Issue                                    
2014-04-18 11:23 Nicolas H.     File Added:
0001-added-patch-support-for-directories.patch                    
======================================================================



More information about the cmake-developers mailing list