[CMake] NSIS Start Menu Directory

James Bigler jamesbigler at gmail.com
Wed Apr 8 13:35:54 EDT 2009


There seems to be a STARTMENU_FOLDER variable, but I can't seem to
adjust its value using any @CPACK_NSIS@ variable.  I tried:

    set(CPACK_NSIS_DEFINES "StrCpy $STARTMENU_FOLDER \\\"Vendor\\\"")

but nsis complained: Error: command StrCpy not valid outside Section or Function

James

On Wed, Apr 8, 2009 at 11:27 AM, James Bigler <jamesbigler at gmail.com> wrote:
> I'm using that file.  I noticed the bug and grabbed the CVS of the file.
>
> While this allows me to specify a subdirectory for the installation
> location, the start menu is now just the project name.
>
> James
>
> On Wed, Apr 8, 2009 at 11:22 AM, David Cole <david.cole at kitware.com> wrote:
>> See issue http://public.kitware.com/Bug/view.php?id=8682
>> (which I resolved yesterday...)
>> But you'll have to use CVS CMake for now to get the fix. (Or copy/override
>> the new NSIS.template.in to an older CMake installation.)
>>
>>
>> HTH,
>> David
>>
>> On Wed, Apr 8, 2009 at 1:17 PM, James Bigler <jamesbigler at gmail.com> wrote:
>>>
>>> I want to be able to add "Vendor\Project" to the start menu, but I
>>> don't want all the installer to say things like "Welcome to the
>>> Vendor\Project setup".  Is there a configuration variable for this?  I
>>> went poking around NSIS.template.in and didn't notice anything.
>>>
>>> Thanks,
>>> James
>>> _______________________________________________
>>> 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
>>
>>
>


More information about the CMake mailing list