[cmake-developers] [CMake 0016000]: CPack/WIX: Extend CPACK_WIX_PROGRAM_MENU_FOLDER feature to support hierachical folders.

Mantis Bug Tracker mantis at public.kitware.com
Wed Mar 2 04:16:52 EST 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=16000 
====================================================================== 
Reported By:                Marc Chevrier
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16000
Category:                   CPack
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-03-02 10:16 CET
Last Modified:              2016-03-02 10:16 CET
====================================================================== 
Summary:                    CPack/WIX: Extend CPACK_WIX_PROGRAM_MENU_FOLDER
feature to support hierachical folders.
Description: 
Currently,
With CPack/WIX, through the variable CPACK_WIX_PROGRAM_MENU_FOLDER, it is only
possible to create a one level folder entry in the program menu.

It would be nice to extend the support for multiple folders.


Additional Information: 
It would be nice if variable CPACK_WIX_PROGRAM_MENU_FOLDER is extended to
support paths rather than names.
For example:
set (CPACK_WIX_PROGRAM_MENU_FOLDER "Folder1/Folder2") will result in the
creation on hierarchical folders in the program menu of Windows.

And it seems also interesting to extend INSTALL property
CPACK_START_MENU_SHORTCUTS to support paths rather than names to have full
flexibility in menu entries creation.
For example:
set (CPACK_WIX_PROGRAM_MENU_FOLDER "Folder1/Folder2")
set_property (INSTALL item1 PROPERTY CPACK_START_MENU_SHORTCUTS "Folder3/Item1")
set_property (INSTALL item2 PROPERTY CPACK_START_MENU_SHORTCUTS "Folder4/Item2")

so we will have 2 entries created:
Folder1/Folder2/Folder3/Item1
Folder1/Folder2/Folder4/Item2
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-03-02 10:16 Marc Chevrier  New Issue                                    
======================================================================



More information about the cmake-developers mailing list