Notes |
|
(0015956)
|
David Cole
|
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
|
2009-07-16 11:54
|
|
new information about resolution... |
|
|
(0016886)
|
David Cole
|
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
|
2010-12-14 18:49
|
|
Closing bugs that have been resolved for more than 3 months without any further updates. |
|