Sounds like a good idea.<div><br></div><div>Bug tracker feature requests get lost less easily than ideas hiding in the mailing list archives....</div><div><br></div><div><br></div><div>:-)</div><div>David</div><div><br><br>
<div class="gmail_quote">On Wed, Apr 8, 2009 at 2:02 PM, James Bigler <span dir="ltr"><<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
According to this page I can set all sorts of variables the affect the<br>
MUI macros, but I have to define them before they are included.<br>
<a href="http://nsis.sourceforge.net/Docs/Modern%20UI%202/Readme.html" target="_blank">http://nsis.sourceforge.net/Docs/Modern%20UI%202/Readme.html</a><br>
<br>
I think I can define things using this:<br>
set(CPACK_NSIS_DEFINES " !define MUI_STARTMENUPAGE_DEFAULTFOLDER<br>
\\\"Vendor\\\\Project\\\"")<br>
<br>
This seemed to do what I wanted, but perhaps it would be useful to<br>
have a convenience CPACK_NSIS variable for this.<br>
<font color="#888888"><br>
James<br>
</font><div><div></div><div class="h5"><br>
On Wed, Apr 8, 2009 at 11:41 AM, James Bigler <<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>> wrote:<br>
> I want to add a Vendor directory in front, so that in my Start Menu I<br>
> get: Start->Vendor->My Project<br>
><br>
> James<br>
><br>
> On Wed, Apr 8, 2009 at 11:39 AM, David Cole <<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>> wrote:<br>
>> Ah, sorry. My brain didn't register "start menu" properly.<br>
>><br>
>> What are you trying to add to the start menu? A shortcut to an installed<br>
>> file? Or do you want to control the name of the start menu folder that<br>
>> contains those shortcuts?<br>
>> For shortcuts, see CPACK_NSIS_MENU_LINKS or CPACK_PACKAGE_EXECUTABLES<br>
>> variables... Example usages in CMake's source tree can be found in<br>
>> CMake/<a href="http://CMakeCPackOptions.cmake.in" target="_blank">CMakeCPackOptions.cmake.in</a><br>
>><br>
>> HTH,<br>
>> David<br>
>><br>
>> On Wed, Apr 8, 2009 at 1:27 PM, James Bigler <<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>> wrote:<br>
>>><br>
>>> I'm using that file. I noticed the bug and grabbed the CVS of the file.<br>
>>><br>
>>> While this allows me to specify a subdirectory for the installation<br>
>>> location, the start menu is now just the project name.<br>
>>><br>
>>> James<br>
>>><br>
>>> On Wed, Apr 8, 2009 at 11:22 AM, David Cole <<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>><br>
>>> wrote:<br>
>>> > See issue <a href="http://public.kitware.com/Bug/view.php?id=8682" target="_blank">http://public.kitware.com/Bug/view.php?id=8682</a><br>
>>> > (which I resolved yesterday...)<br>
>>> > But you'll have to use CVS CMake for now to get the fix. (Or<br>
>>> > copy/override<br>
>>> > the new <a href="http://NSIS.template.in" target="_blank">NSIS.template.in</a> to an older CMake installation.)<br>
>>> ><br>
>>> ><br>
>>> > HTH,<br>
>>> > David<br>
>>> ><br>
>>> > On Wed, Apr 8, 2009 at 1:17 PM, James Bigler <<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>><br>
>>> > wrote:<br>
>>> >><br>
>>> >> I want to be able to add "Vendor\Project" to the start menu, but I<br>
>>> >> don't want all the installer to say things like "Welcome to the<br>
>>> >> Vendor\Project setup". Is there a configuration variable for this? I<br>
>>> >> went poking around <a href="http://NSIS.template.in" target="_blank">NSIS.template.in</a> and didn't notice anything.<br>
>>> >><br>
>>> >> Thanks,<br>
>>> >> James<br>
>>> >> _______________________________________________<br>
>>> >> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>> >><br>
>>> >> Visit other Kitware open-source projects at<br>
>>> >> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>> >><br>
>>> >> Please keep messages on-topic and check the CMake FAQ at:<br>
>>> >> <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
>>> >><br>
>>> >> Follow this link to subscribe/unsubscribe:<br>
>>> >> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
>>> ><br>
>>> ><br>
>><br>
>><br>
><br>
</div></div></blockquote></div><br></div>