MantisBT - CMake
View Issue Details
0008210CMakeCPackpublic2008-12-02 11:492011-04-04 12:00
hugolien 
David Cole 
normalfeaturealways
closedfixed 
CMake-2-6 
CMake 2.8.4CMake 2.8.4 
0008210: CPack NSIS generator should allow finding makensis on path on WIN32 too
NSIS Generator only works if NSIS is installed with admin privileges on Windows.

Only having makensis in path should work too, as it allows using "portable" installs of NSIS
in cmCPackNSISGenerator:351, InitializeInternal() function returns 0 on Windows if registry key HKEY_LOCAL_MACHINE\\SOFTWARE\\NSIS does not exist.

This registry key is only set if NSIS is installed with admin privileges.

Finding the program makensis in PATH like for other systems should be the fallback on windows.
No tags attached.
Issue History
2008-12-02 11:49hugolienNew Issue
2009-01-28 17:02Bill HoffmanStatusnew => assigned
2009-01-28 17:02Bill HoffmanAssigned To => David Cole
2010-11-10 21:09David ColeTarget Version => CMake 2.8.4
2010-12-17 13:39David ColeNote Added: 0024242
2010-12-17 13:39David ColeStatusassigned => resolved
2010-12-17 13:39David ColeFixed in Version => CMake 2.8.4
2010-12-17 13:39David ColeResolutionopen => fixed
2011-04-04 12:00David ColeNote Added: 0026071
2011-04-04 12:00David ColeStatusresolved => closed

Notes
(0024242)
David Cole   
2010-12-17 13:39   
Fixed and pushed to CMake 'next' just now with this commit:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cd9aa73f3a40b20ea6414779e4057ac236314d86 [^]

Fix should appear in the CMake 2.8.4 release.
(0026071)
David Cole   
2011-04-04 12:00   
Closing resolved issues that have not been updated in more than 3 months.