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:
David Cole 2008-06-18 14:25:57 -04:00
parent 101337c63e
commit 0fe9afdf5e
1 changed files with 2 additions and 1 deletions

View File

@ -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,