MantisBT - CMake
View Issue Details
0013805CMakeCPackpublic2012-12-19 22:512016-06-10 14:31
Andrew Bott 
Kitware Robot 
normalminorhave not tried
closedmoved 
Windows7 64
CMake 2.8.9 
 
0013805: Add support for CPACK_PACKAGE_RELOCATABLE to NSIS Generator
I have a need for generating an NSIS installer that doesn't allow the user to select the install directory (Forces use of default). I expected this to be controlled by the CPACK_PACKAGE_RELOCATABLE variable, but found that this was not the case. Whilst relocatability should probably be ON by default for the NSIS generator, I'd like it to be configurable e.g.:

Somewhere in NSIS.template.in:
@CPACK_NSIS_PAGE_DIRECTORY@

And somewhere else:
IF( CPACK_PACKAGE_RELOCATABLE )
  SET( CPACK_NSIS_PAGE_DIRECTORY "!insertmacro MUI_PAGE_DIRECTORY" )
ENDIF


Trivially reproducable
No tags attached.
Issue History
2012-12-19 22:51Andrew BottNew Issue
2012-12-20 11:06Eric NOULARDCategory(No Category) => CPack
2016-06-10 14:28Kitware RobotNote Added: 0042176
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042176)
Kitware Robot   
2016-06-10 14:28   
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.