MantisBT - CMake
View Issue Details
0009629CMakeCPackpublic2009-10-01 04:222013-04-17 08:54
Sorin Sbarnea 
David Cole 
normalfeaturealways
closedfixed 
CMake-2-8 
CMake 2.8.11CMake 2.8.11 
0009629: NSIS Unicode is not detected
Cpack does fail to detect NSIS Unicode installation. NSIS Unicode is currently available at http://www.scratchpaper.com/. [^]

Remark: NSIS Unicode is compatible with NSIS.

The cause is because NSIS Unicode installation set another registry key. Here is the key location:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NSIS\Unicode] (on x64)
[HKEY_LOCAL_MACHINE\SOFTWARE\NSIS\Unicode] (on x86)

It would be better for cmake to detect NSIS Unicode first and fallback to classic NSIS if the key is not found.
No tags attached.
Issue History
2009-10-01 04:22Sorin SbarneaNew Issue
2009-10-01 09:05Bill HoffmanStatusnew => assigned
2009-10-01 09:05Bill HoffmanAssigned To => David Cole
2011-01-28 11:41David ColeNote Added: 0025128
2011-02-09 13:58David ColeStatusassigned => backlog
2011-02-09 14:00David ColeAssigned ToDavid Cole =>
2012-10-08 14:40AlexanderNote Added: 0031193
2012-10-17 14:30David ColeAssigned To => David Cole
2012-10-17 14:30David ColeStatusbacklog => assigned
2012-10-17 14:31David ColeNote Added: 0031253
2012-10-17 14:33David ColeNote Edited: 0031253bug_revision_view_page.php?bugnote_id=31253#r859
2012-11-21 14:48David ColeTarget Version => CMake 2.8.11
2012-11-21 14:48David ColeStatusassigned => resolved
2012-11-21 14:48David ColeFixed in Version => CMake 2.8.11
2012-11-21 14:48David ColeResolutionopen => fixed
2013-04-17 08:54Robert MaynardNote Added: 0032877
2013-04-17 08:54Robert MaynardStatusresolved => closed

Notes
(0025128)
David Cole   
2011-01-28 11:41   
With the fix for issue 0008210 this issue may now be less important. CPack will search the PATH for makensis in addition to looking in the registry key install location.

Is that a sufficient way to get CPack to use the Unicode NSIS, or is more work necessary?

Thanks,
David
(0031193)
Alexander   
2012-10-08 14:40   
I'm also affected by this and I believe it should work without any PATH manipulation from the user's side.
Thanks
(0031253)
David Cole   
2012-10-17 14:31   
(edited on: 2012-10-17 14:33)
Fix pushed to 'next':

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=668dda034f9dac763e3af745f5ca810d17d4a9a3 [^]

Not sure yet which official release of CMake this will first appear in. I will update the 'target version' field when I know when it's going to happen...

(0032877)
Robert Maynard   
2013-04-17 08:54   
Closing resolved issues that have not been updated in more than 4 months.