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

Reply via email to