[CMake] creating start menu items

Paul Anton Letnes pa at letnes.com
Mon Feb 16 14:22:27 EST 2015


This seems to match what I've seen in my so-far light experimentation. What's the fix? Use wix XML patches?

I'm betting my money on the WiX train as this is what we use elsewhere in my organization. Also I can live without the start menu items in the very worst case.

cheers
Paul


> On 13. feb. 2015, at 22.11, Iosif Neitzke <iosif.neitzke+cmake at gmail.com> wrote:
> 
> As a side note, remember that CPACK_PACKAGE_EXECUTABLES is problematic
> in another way too; it requires listed executables to be installed to
> <PACKAGING_INSTALL_DIR>/bin/.
> 
> On Fri, Feb 13, 2015 at 1:56 AM, Nils Gladitz <nilsgladitz at gmail.com> wrote:
>> On 02/13/2015 07:52 AM, Paul Anton Letnes wrote:
>>> 
>>> I have been unable to come across any documentation on how the WiX CPack
>>> generator can create start menu items. I'll need to create items both
>>> for a few PDFs (documentation) and for an executable or two. Is this
>>> supported, or do I need to write my own XML patch file and give that to
>>> WiX?
>> 
>> 
>> The WIX generator implements the generic CPACK_PACKAGE_EXECUTABLES [1] which
>> like the name suggests is only for executables though.
>> 
>> I was pondering adding another installed file property [2] for the creation
>> of start menu / desktop shortcuts for convenience but for now
>> CPACK_WIX_PATCH_FILE [3] should work for non-executables.
>> 
>> Nils
>> 
>> [1] http://www.cmake.org/cmake/help/v3.1/module/CPack.html
>> 
>> [2]
>> http://www.cmake.org/cmake/help/v3.1/manual/cmake-properties.7.html#properties-on-installed-files
>> 
>> [3] http://www.cmake.org/cmake/help/v3.1/module/CPackWIX.html
>> --
>> 
>> Powered by www.kitware.com
>> 
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>> 
>> Kitware offers various services to support the CMake community. For more
>> information on each offering, please visit:
>> 
>> CMake Support: http://cmake.org/cmake/help/support.html
>> CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> CMake Training Courses: http://cmake.org/cmake/help/training.html
>> 
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/cmake
> -- 
> 
> Powered by www.kitware.com
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Kitware offers various services to support the CMake community. For more information on each offering, please visit:
> 
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake



More information about the CMake mailing list