MantisBT - CMake
View Issue Details
0004878CMakeCPackpublic2007-04-14 05:402016-06-10 14:30
Christian Ehrlicher 
Bill Hoffman 
lowminoralways
closedmoved 
 
 
0004878: CPack/NSIS - wrong link for startmenu
When I install an executable to CMAKE_INSTALL_PREFIX (install (TARGETS marble DESTINATION "")) cpack creates a wrong start menu entry for the executable (CMAKE_INSTALL_PREFIX/bin). To solve this I have to edit the generated nsi script by hand :(

I also asked on cmake@cmake.org without any reply:
http://www.mail-archive.com/cmake@cmake.org/msg05452.html [^]
No tags attached.
Issue History
2007-08-31 11:27Alex NeundorfAssigned ToSystem Admin => Bill Hoffman
2008-10-09 13:23Bill HoffmanNote Added: 0013812
2008-11-25 11:37Christian EhrlicherNote Added: 0014181
2009-09-14 21:04Bill HoffmanNote Added: 0017506
2012-09-05 11:08Daniel FrankeNote Added: 0030927
2012-09-06 10:28Daniel FrankeNote Added: 0030942
2016-06-10 14:27Kitware RobotNote Added: 0041354
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0013812)
Bill Hoffman   
2008-10-09 13:23   
Is this still an issue?
(0014181)
Christian Ehrlicher   
2008-11-25 11:37   
I can't test it atm and it's a really bug. Plz close :)
(0017506)
Bill Hoffman   
2009-09-14 21:04   
I think this can be done with a DESTDIR CPack install now.
(0030927)
Daniel Franke   
2012-09-05 11:08   
This seems to be still an issue with cmake/cpack 2.8.x.
(0030942)
Daniel Franke   
2012-09-06 10:28   
I had to read the CPack sources to finally come across this (who reads documentation, really), but this seems to be fixed since 2.8.4:

   CPACK_NSIS_EXECUTABLES_DIRECTORY - Creating NSIS start menu links
   assumes that they are in 'bin' unless this variable is set.
   For example, you would set this to 'exec' if your executables are
   in an exec directory.

http://www.cmake.org/cmake/help/v2.8.4/cmake.html [^]
(0041354)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.