Re: [CMake] WiX Generator Start menu shortcut
I attached a new version of this patch to the original ticket. The code is a bit cleaner this time around I hope. I also added a CPACK_WIX_PROGRAM_MENU_FOLDER option initialized to CPACK_PACKAGE_NAME as suggested. The original author of the WiX generator has added support for template customization already. In the modules directory there is a file called WIX.template.in. Regards, -Fredrik On 2 mar 2013, at 03.11, Hendrik Sattler wrote: Am Freitag, 1. März 2013, 14:06:43 schrieb Fredrik Axelsson: The 'Software/Vendor/Item' is actually a registry key. The shortcut will be $CPACK_PACKAGE_NAME\iconName CPACK_PACKAGE_EXECUTABLES refers to executables according to the CPack docs http://www.cmake.org/cmake/help/v2.8.10/cpack.html#variable:CPACK_PACKAGE_E XECUTABLES The NSIS generator will also append .exe to the executable name, this WiX generator patch was modeled after how NSIS works. But with NSIS, I can have my own template file and modify every aspect of it. Is this also possible with WiX? $CPACK_PACKAGE_NAME is also used for other parts, already, so there is no way to define this independently? Maybe add another $CPACK_WIX_* variable that is initialized with $CPACK_PACKAGE_NAME? HS -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] WiX Generator Start menu shortcut
Am 2013-03-01 03:30, schrieb Fredrik Axelsson: Hi! The WiX generator supported by the nightly builds will currently not generate Start Menu Shortcuts. I opened a new ticket in the bugtracker for this feature. http://public.kitware.com/Bug/view.php?id=13967 [1] and I attached a patch to enable this. It enforces a rather unusual shortcut tree of VENDOR/SOFTWARE/ITEM. This path should be it's own configuration item. Additionally, the items should not only be executables, they can also be links to e.g. help files. So targets should be supported but also relative paths to the installation directory. HS -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] WiX Generator Start menu shortcut
The 'Software/Vendor/Item' is actually a registry key. The shortcut will be $CPACK_PACKAGE_NAME\iconName CPACK_PACKAGE_EXECUTABLES refers to executables according to the CPack docs http://www.cmake.org/cmake/help/v2.8.10/cpack.html#variable:CPACK_PACKAGE_EXECUTABLES The NSIS generator will also append .exe to the executable name, this WiX generator patch was modeled after how NSIS works. Regards, Fredrik On Fri, Mar 1, 2013 at 7:41 PM, Hendrik Sattler p...@hendrik-sattler.dewrote: Am 2013-03-01 03:30, schrieb Fredrik Axelsson: Hi! The WiX generator supported by the nightly builds will currently not generate Start Menu Shortcuts. I opened a new ticket in the bugtracker for this feature. http://public.kitware.com/Bug/**view.php?id=13967http://public.kitware.com/Bug/view.php?id=13967[1] and I attached a patch to enable this. It enforces a rather unusual shortcut tree of VENDOR/SOFTWARE/ITEM. This path should be it's own configuration item. Additionally, the items should not only be executables, they can also be links to e.g. help files. So targets should be supported but also relative paths to the installation directory. HS -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/** opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/**CMake_FAQhttp://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/**listinfo/cmakehttp://www.cmake.org/mailman/listinfo/cmake -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] WiX Generator Start menu shortcut
Am Freitag, 1. März 2013, 14:06:43 schrieb Fredrik Axelsson: The 'Software/Vendor/Item' is actually a registry key. The shortcut will be $CPACK_PACKAGE_NAME\iconName CPACK_PACKAGE_EXECUTABLES refers to executables according to the CPack docs http://www.cmake.org/cmake/help/v2.8.10/cpack.html#variable:CPACK_PACKAGE_E XECUTABLES The NSIS generator will also append .exe to the executable name, this WiX generator patch was modeled after how NSIS works. But with NSIS, I can have my own template file and modify every aspect of it. Is this also possible with WiX? $CPACK_PACKAGE_NAME is also used for other parts, already, so there is no way to define this independently? Maybe add another $CPACK_WIX_* variable that is initialized with $CPACK_PACKAGE_NAME? HS -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake