NSIS Unicode + CMake = Cannot find NSIS registry value
Hi,
I have a question which does not relate to the installer directly but I hope that one can help me.
I am using the Unicode (2.46) version of NSIS. The nsi file is created by CMake.
Now the problem is that CMake somehow looks for the NSIS installer by reading the value of
HKEY_LOCAL_MACHINE\SOFTWARE\NSIS
But the Unicode version adds this value in the sub-key 'Unicode'.
So without doing some manual changes I always get the following error message from CMake:
Cannot find NSIS registry value. This is usually caused by NSIS not being installed.
Please install NSIS from http://nsis.sourceforge.org
Therefor I have some questions:
1. Is there any simple/ common way to get rid off this problem? If so, how?
2. Can I tell CMake (sorry - I have no idea of it) to look at "HKEY_LOCAL_MACHINE\SOFTWARE\NSIS\Unicode" instead of "HKEY_LOCAL_MACHINE\SOFTWARE\NSIS"?
3. Isn't it possible to have both versions (NSIS ANSI and Unicode) installed at the same time?
Many thanks for your help in advanced,
Gunther