View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007881 | CMake | CPack | public | 2008-10-29 06:23 | 2010-12-14 18:49 | ||||
Reporter | Nicolas Despres | ||||||||
Assigned To | David Cole | ||||||||
Priority | normal | Severity | tweak | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0007881: [NSIS] Installation directory with the VENDOR name | ||||||||
Description | Many company installed all their product in a directory with their name. Typically: c:\Program Files\Vendor\Product1 c:\Program Files\Vendor\Product2 Up to now it is not possible to do so with cpack nsis generator. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0015956) David Cole (manager) 2009-04-07 15:50 |
This is resolved by the same commit as the related issue, 0008682. It is "fixed" enough to do the following in CVS HEAD of CMake. cvs commit -m "BUG: Fix issue 0008682. Use CPACK_NSIS_DISPLAY_NAME in appropriate places rather than CPACK_PACKAGE_INSTALL_DIRECTORY. Clean separation of these two variables (which have the same value by default) allows an easy workaround for issue 0007881, too." NSIS.template.in /cvsroot/CMake/CMake/Modules/NSIS.template.in,v <-- NSIS.template.in new revision: 1.36; previous revision: 1.35 To allow including the Vendor name in the installation directory, do this: In product1's CMakeLists.txt file: SET(CPACK_PACKAGE_INSTALL_DIRECTORY "Vendor\\Product1") SET(CPACK_NSIS_DISPLAY_NAME "Product1 Display Name") In product2's CMakeLists.txt file: SET(CPACK_PACKAGE_INSTALL_DIRECTORY "Vendor\\Product2") SET(CPACK_NSIS_DISPLAY_NAME "Product2 Display Name") (That's for Win32 NSIS with the "\\" in the string. You'll want to use "/" for those variables on other platforms...) |
(0016885) David Cole (manager) 2009-07-16 11:54 |
new information about resolution... |
(0016886) David Cole (manager) 2009-07-16 11:55 |
See notes in related issue 0008682 regarding the re-fix for that issue... The new variable CPACK_NSIS_PACKAGE_NAME should be set in addition to CPACK_NSIS_DISPLAY_NAME -- the PACKAGE_NAME variant is used in the installer itself, the DISPLAY_NAME variant is shown in the Add/Remove Programs control panel. |
(0024095) David Cole (manager) 2010-12-14 18:49 |
Closing bugs that have been resolved for more than 3 months without any further updates. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-10-29 06:23 | Nicolas Despres | New Issue | |
2009-01-29 14:24 | Bill Hoffman | Status | new => assigned |
2009-01-29 14:24 | Bill Hoffman | Assigned To | => David Cole |
2009-04-07 15:34 | David Cole | Relationship added | related to 0008682 |
2009-04-07 15:50 | David Cole | Note Added: 0015956 | |
2009-04-07 15:50 | David Cole | Status | assigned => resolved |
2009-04-07 15:50 | David Cole | Resolution | open => fixed |
2009-07-16 11:54 | David Cole | Note Added: 0016885 | |
2009-07-16 11:54 | David Cole | Status | resolved => feedback |
2009-07-16 11:54 | David Cole | Resolution | fixed => reopened |
2009-07-16 11:55 | David Cole | Note Added: 0016886 | |
2009-07-16 11:55 | David Cole | Status | feedback => resolved |
2009-07-16 11:55 | David Cole | Resolution | reopened => fixed |
2010-12-14 18:49 | David Cole | Note Added: 0024095 | |
2010-12-14 18:49 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |