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">&lt;<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>&gt;</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 &quot;  !define MUI_STARTMENUPAGE_DEFAULTFOLDER<br>
\\\&quot;Vendor\\\\Project\\\&quot;&quot;)<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 &lt;<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>&gt; wrote:<br>
&gt; I want to add a Vendor directory in front, so that in my Start Menu I<br>
&gt; get: Start-&gt;Vendor-&gt;My Project<br>
&gt;<br>
&gt; James<br>
&gt;<br>
&gt; On Wed, Apr 8, 2009 at 11:39 AM, David Cole &lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt; wrote:<br>
&gt;&gt; Ah, sorry. My brain didn&#39;t register &quot;start menu&quot; properly.<br>
&gt;&gt;<br>
&gt;&gt; What are you trying to add to the start menu? A shortcut to an installed<br>
&gt;&gt; file? Or do you want to control the name of the start menu folder that<br>
&gt;&gt; contains those shortcuts?<br>
&gt;&gt; For shortcuts, see CPACK_NSIS_MENU_LINKS or CPACK_PACKAGE_EXECUTABLES<br>
&gt;&gt; variables... Example usages in CMake&#39;s source tree can be found in<br>
&gt;&gt; CMake/<a href="http://CMakeCPackOptions.cmake.in" target="_blank">CMakeCPackOptions.cmake.in</a><br>
&gt;&gt;<br>
&gt;&gt; HTH,<br>
&gt;&gt; David<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Apr 8, 2009 at 1:27 PM, James Bigler &lt;<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;m using that file.  I noticed the bug and grabbed the CVS of the file.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; While this allows me to specify a subdirectory for the installation<br>
&gt;&gt;&gt; location, the start menu is now just the project name.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; James<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Apr 8, 2009 at 11:22 AM, David Cole &lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt; 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>
&gt;&gt;&gt; &gt; (which I resolved yesterday...)<br>
&gt;&gt;&gt; &gt; But you&#39;ll have to use CVS CMake for now to get the fix. (Or<br>
&gt;&gt;&gt; &gt; copy/override<br>
&gt;&gt;&gt; &gt; the new <a href="http://NSIS.template.in" target="_blank">NSIS.template.in</a> to an older CMake installation.)<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; HTH,<br>
&gt;&gt;&gt; &gt; David<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; On Wed, Apr 8, 2009 at 1:17 PM, James Bigler &lt;<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>&gt;<br>
&gt;&gt;&gt; &gt; wrote:<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; I want to be able to add &quot;Vendor\Project&quot; to the start menu, but I<br>
&gt;&gt;&gt; &gt;&gt; don&#39;t want all the installer to say things like &quot;Welcome to the<br>
&gt;&gt;&gt; &gt;&gt; Vendor\Project setup&quot;.  Is there a configuration variable for this?  I<br>
&gt;&gt;&gt; &gt;&gt; went poking around <a href="http://NSIS.template.in" target="_blank">NSIS.template.in</a> and didn&#39;t notice anything.<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Thanks,<br>
&gt;&gt;&gt; &gt;&gt; James<br>
&gt;&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; &gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt; &gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt;&gt;&gt; &gt;&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt; &gt;&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>