[CMake] CPACK WIX shortcuts

Nils Gladitz nilsgladitz at gmail.com
Thu Nov 3 04:15:54 EDT 2016


On 11/03/2016 12:23 AM, Tiago Macarios wrote:

> Hi,
>
> I am trying to create an installer with CPACK and WIX as generator. 
> Everything works fine except that I cannot get start menu shortcuts to 
> work.
>
> I was using almost the same code as the link below (which seems to be 
> the unit tests for this feature), then I tried to build the unit test 
> and I still don't see the shortcut directives on the wix files.
>
> Am I doing something wrong, or is this a regression?

Which CMake version are you actually using?
This feature was implemented in CMake 3.3.0.

>
> https://github.com/ngladitz/cmake-wix-testsuite/blob/d01013e2066e68088b4f56a8ab7750eb3cea7089/property_start_menu_shortcuts/CMakeLists.txt

This still works for me using CMake 3.7.0-rc2.

CMake 3.7.0-rc2's own windows installer uses the same feature for the 
start menu shortcut to the documentation which also seems to work for me.

Nils


More information about the CMake mailing list