The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13805 
====================================================================== 
Reported By:                Andrew Bott
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13805
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-12-19 22:51 EST
Last Modified:              2012-12-19 22:51 EST
====================================================================== 
Summary:                    Add support for CPACK_PACKAGE_RELOCATABLE to NSIS
Generator
Description: 
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




Steps to Reproduce: 
Trivially reproducable
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-12-19 22:51 Andrew Bott    New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to