<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:10pt"><div><div>I have tried many variations to the HKEY_LOCAL_MACHINE setting and am unable to get a run through of Cpack.</div><div>I know it must be something simple I am missing. </div><div>I need help with this. </div><div>I am on a windows 7 / 64bit machine. NSIS is unicode and installed in the 32 bit program files directory.</div><div>Thanks,</div><div><b>CMakeLists.txt:</b></div><div><b><div><span class="Apple-style-span" style="font-weight: normal;">if (WINDOWS)</span></div><div><span class="Apple-style-span" style="font-weight: normal;"> # build a CPack driven installer package</span></div><div><span class="Apple-style-span" style="font-weight: normal;"> SET (CPACK_GENERATOR "NSIS")</span></div><div><span class="Apple-style-span"
style="font-weight: normal;"> SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY HKEY_LOCAL_MACHINE"/SOFTWARE/Wow6432Node/NSIS/Unicode")</span></div><div><span class="Apple-style-span" style="font-weight: normal;"> include (InstallRequiredSystemLibraries)</span></div><div><span class="Apple-style-span" style="font-weight: normal;"> include (CPack)</span></div><div><span class="Apple-style-span" style="font-weight: normal;">endif (WINDOWS) </span></div></b></div><div><br></div><div><b>CPackConfig.cmake: (snip)</b></div><div>SET(CPACK_BINARY_NSIS "")</div><div>.</div><div>.</div><div>SET(CPACK_CMAKE_GENERATOR "Visual Studio 8 2005")</div><div>.</div><div>.</div><div>SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "HKEY_LOCAL_MACHINE"/SOFTWARE/Wow6432Node/NSIS/Unicode"")</div><div><br></div><div><b>Output:</b></div><div>C:\Phoenix\phoenix-work\indra\build-vc80>cpack cpackconfig.cmake</div><div>CPack Error:
Cannot find NSIS registry value. This is usually caused by NSIS not</div><div><span> being installed. Please install NSIS from <a target="_blank" href="http://nsis.sourceforge.net">http://nsis.sourceforge.net</a></span></div><div>CPack Error: Cannot initialize the generator NSIS</div></div><div style="position:fixed"></div>
</div><br>
</body></html>