summaryrefslogtreecommitdiff
path: root/Source/CPack
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-06-18 14:25:57 -0400
committerDavid Cole <david.cole@kitware.com>2008-06-18 14:25:57 -0400
commit0fe9afdf5e61efc28687f5147669bcea37dbcce8 (patch)
treedcb42a2a0676901478e4f8d8ef714f601cdc9f48 /Source/CPack
parent101337c63ea5a3b0ceed468a7917b2a49e6eaced (diff)
downloadcmake-0fe9afdf5e61efc28687f5147669bcea37dbcce8.tar.gz
BUG: Always look for the NSIS reg value in the 32-bit hive even in 64-bit builds of CPack.
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackNSISGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackNSISGenerator.cxx b/Source/CPack/cmCPackNSISGenerator.cxx
index 3ad17b14ea..cd4ffb80c4 100644
--- a/Source/CPack/cmCPackNSISGenerator.cxx
+++ b/Source/CPack/cmCPackNSISGenerator.cxx
@@ -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,