BUG: Always look for the NSIS reg value in the 32-bit hive even in 64-bit builds of CPack.
This commit is contained in:
parent
101337c63e
commit
0fe9afdf5e
|
@ -308,7 +308,8 @@ int cmCPackNSISGenerator::InitializeInternal()
|
|||
|
||||
#ifdef _WIN32
|
||||
if ( !cmsys::SystemTools::ReadRegistryValue(
|
||||
"HKEY_LOCAL_MACHINE\\SOFTWARE\\NSIS", nsisPath) )
|
||||
"HKEY_LOCAL_MACHINE\\SOFTWARE\\NSIS", nsisPath,
|
||||
cmsys::SystemTools::KeyWOW64_32) )
|
||||
{
|
||||
cmCPackLogger
|
||||
(cmCPackLog::LOG_ERROR,
|
||||
|
|
Loading…
Reference in New Issue