View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010591CMakeCPackpublic2010-04-22 05:542011-04-04 12:00
ReporterRobert Bielik 
Assigned ToDavid Cole 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in VersionCMake 2.8.4 
Summary0010591: For NSIS, CPack erroneously enforces a ..\bin\ folder
DescriptionOn Windows it is customary to have executables installed as:
C:\Program Files\Company\Product\Executable.exe

But CPack enforces the non-customary:
C:\Program Files\Company\Product\bin\Executable.exe

The appending of a bin folder is hardcoded in cmCPackNSISGenerator.cxx (454). Of course it is possible to override the generation of the CPACK_NSIS_CREATE_ICONS variable, but it is not... "clean" :) It should instead be an option via CPACK_PACKAGE_EXECUTABLES in CMakeLists.txt:

SET(CPACK_PACKAGE_EXECUTABLES "bin\\Executable" "The Executable")
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0007828closedDavid Cole Impossible to create a Nullsoft installer without referencing bin folder 
related to 0007829closedDavid Cole CPACK_PACKAGE_EXECUTABLES should allow executables from anywhere 

  Notes
(0024121)
David Cole (manager)
2010-12-14 18:59

Monitor the duplicate bug id if you want to know when it gets fixed...
(0026047)
David Cole (manager)
2011-04-04 12:00

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2010-04-22 05:54 Robert Bielik New Issue
2010-12-14 18:29 David Cole Assigned To => David Cole
2010-12-14 18:29 David Cole Status new => assigned
2010-12-14 18:59 David Cole Note Added: 0024121
2010-12-14 18:59 David Cole Relationship added duplicate of 0007828
2010-12-14 18:59 David Cole Status assigned => resolved
2010-12-14 18:59 David Cole Fixed in Version => CMake 2.8.4
2010-12-14 18:59 David Cole Resolution open => duplicate
2011-01-07 17:39 David Cole Relationship added related to 0007829
2011-04-04 12:00 David Cole Note Added: 0026047
2011-04-04 12:00 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team