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

Reply via email to