<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=062533213-09042008>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062533213-09042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062533213-09042008>Bear with me, I am
new to this list.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062533213-09042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062533213-09042008><SPAN
class=062533213-09042008>I am currently working on generating CPack
configuration files through CMake. I am using NSIS to generate an installer for
windows through CPack. Apart from the fact that I am relatively new to cmake and
cpack it is all going fine. I did run into a problem with adding start menu
items through CPack. </SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=062533213-09042008><SPAN
class=062533213-09042008></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062533213-09042008>
<DIV><FONT face=Arial size=2><SPAN class=062533213-09042008>The start menu items
I want to create goes something like this "myprogram.exe" "arguments". This is
not possible with CPACK_PACKAGE_EXECUTABLES nor CPACK_NSIS_MENU_LINKS. I have a
work around though, I am using CPACK_NSIS_EXTRA_INSTALL_COMMANDS to add NSIS
script commands. In the end the generated string in the CPack config files get
to big for the buffer to handle so I guess I will have to find some way to make
them shorter (edit my template to create some function to shorten commands in
CPACK_NSIS_EXTRA_INSTALL_COMMANDS ).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062533213-09042008></SPAN></FONT> </DIV>
<DIV></SPAN></FONT><FONT face=Arial size=2><SPAN class=062533213-09042008>I did
find out on some list that there is a property called CPACK_NSIS_MENU_LINKS but
this does not seem to work since it is not taken care of in the the
NSIS.template.in that is used. Is this property not part of release
2.4.8?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062533213-09042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062533213-09042008>Since I can not find
any simple way of doing this anywhere in the mailing lists or using google I
thought I should ask here. Is there a simple way to do what I want through
CPack?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062533213-09042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=062533213-09042008>Regards and thanks
in advance,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=062533213-09042008>Markus</SPAN></FONT></DIV></DIV></BODY></HTML>