View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013967CMakeCPackpublic2013-02-28 21:142013-12-02 08:51
ReporterFredrik Axelsson 
Assigned ToBrad King 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.10.2 
Target VersionCMake 2.8.12Fixed in VersionCMake 2.8.12 
Summary0013967: WiX Generator add support for CPACK_PACKAGE_EXECUTABLES
DescriptionCurrently the WiX generator will not create application shortcuts.

The supplied patch will add support for CPACK_PACKAGE_EXECUTABLES and use it to create a start menu shortcut.
TagsNo tags attached.
Attached Filespatch file icon 0001-CPack-WIX-Generator-handle-CPACK_PACKAGE_EXECUTABLES.patch [^] (5,100 bytes) 2013-02-28 21:14 [Show Content]
patch file icon 0001-CPack-WIX-Generator-handle-CPACK_PACKAGE_EXECUTABLES-v2.patch [^] (9,203 bytes) 2013-03-03 07:21 [Show Content]
patch file icon 0001-CPACK_WIX_PROGRAM_MENU_FOLDER.patch [^] (9,097 bytes) 2013-04-18 17:22 [Show Content]

 Relationships

  Notes
(0032429)
Fredrik Axelsson (reporter)
2013-03-03 07:26

* Reworked the structure of the patch to make it less of a hack
* Added a new configuration variable called CPACK_WIX_PROGRAM_MENU_FOLDER to allow customization of the start menu folder name.
* Added uninstall link in the start menu folder by default.
(0032805)
Ian Monroe (reporter)
2013-04-10 18:59

CPACK_WIX_UNINSTALL from the test doesn't seem to be used in the code?
(0032910)
Ian Monroe (reporter)
2013-04-18 17:23

There was a regression where if the install directory had:
  parent
    child A
    child B

the produced MSI would install:
  parent
    child A
       child B

I've created a new patch which fixes that.
(0032996)
Richard Ulrich (reporter)
2013-05-06 09:53

Would be great if that change would be included.
Having shortcuts is really a requirement for almost every installer on Windows.
(0033008)
Richard Ulrich (reporter)
2013-05-08 10:56

I extended it to support multiple shortcuts, and made a github pull request out of it:
https://github.com/Kitware/CMake/pull/45 [^]
(0033009)
Richard Ulrich (reporter)
2013-05-08 11:44

What about desktop icons?

At the moment I just add them manually in my custom WIX.template.in

I wouldn't want every icon from the startmenu also on the desktop.
So there needs to be a way to differentiate, which I think CPACK_PACKAGE_EXECUTABLES alone is not enough.
How do other generators handle that?
(0033577)
Brad King (manager)
2013-07-22 09:52

Patches merged as commits

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8c0e3255 [^]
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6d77e1ab [^]
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6e51ea98 [^]
(0034652)
Robert Maynard (manager)
2013-12-02 08:51

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-02-28 21:14 Fredrik Axelsson New Issue
2013-02-28 21:14 Fredrik Axelsson File Added: 0001-CPack-WIX-Generator-handle-CPACK_PACKAGE_EXECUTABLES.patch
2013-03-03 07:21 Fredrik Axelsson File Added: 0001-CPack-WIX-Generator-handle-CPACK_PACKAGE_EXECUTABLES-v2.patch
2013-03-03 07:26 Fredrik Axelsson Note Added: 0032429
2013-04-10 18:59 Ian Monroe Note Added: 0032805
2013-04-18 17:22 Ian Monroe File Added: 0001-CPACK_WIX_PROGRAM_MENU_FOLDER.patch
2013-04-18 17:23 Ian Monroe Note Added: 0032910
2013-05-06 09:53 Richard Ulrich Note Added: 0032996
2013-05-08 10:56 Richard Ulrich Note Added: 0033008
2013-05-08 11:44 Richard Ulrich Note Added: 0033009
2013-05-09 09:31 Robert Maynard Assigned To => Robert Maynard
2013-05-09 09:31 Robert Maynard Status new => assigned
2013-07-22 09:52 Brad King Note Added: 0033577
2013-07-22 09:52 Brad King Assigned To Robert Maynard => Brad King
2013-07-22 09:52 Brad King Status assigned => resolved
2013-07-22 09:52 Brad King Resolution open => fixed
2013-07-22 09:52 Brad King Fixed in Version => CMake 2.8.12
2013-07-22 09:52 Brad King Target Version => CMake 2.8.12
2013-12-02 08:51 Robert Maynard Note Added: 0034652
2013-12-02 08:51 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team