What do you hope to achieve by setting this value? Trying to have Cpack see the currently installed NSIS program. Stopped setting CPACK_PACKAGE_INSTALL_REGISTRY_KEY and still have the same error. Cpack cannot find the installed and in path Unicode\makensis.exe
________________________________ From: David Cole <david.c...@kitware.com> To: Nicky Perian <nickyper...@yahoo.com> Cc: cmake@cmake.org Sent: Mon, September 20, 2010 12:32:48 PM Subject: Re: [CMake] SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY) Why are you trying to set "CPACK_PACKAGE_INSTALL_REGISTRY_KEY "? What do you hope to achieve by setting this value? My suggestion is NOT to set it. Or to set it to something like "My Software Package Name". There is no reason you should be trying to set it to HKEY_LOCAL_MACHINE/SOFTWARE/NSIS/Unicode -- that will not do anything useful for you. On Mon, Sep 20, 2010 at 1:14 PM, Nicky Perian <nickyper...@yahoo.com> wrote: Per suggestions; changed SET to below. Cpack still cannot find the registry key. > SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY >HKEY_LOCAL_MACHINE"/SOFTWARE//NSIS/Unicode") > > > ________________________________ From: Nicky Perian <nickyper...@yahoo.com> >To: cmake@cmake.org >Sent: Fri, September 17, 2010 12:59:08 PM >Subject: SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY) > > >I have tried many variations to the HKEY_LOCAL_MACHINE setting and am unable >to >get a run through of Cpack. >I know it must be something simple I am missing. >I need help with this. >I am on a windows 7 / 64bit machine. NSIS is unicode and installed in the 32 >bit >program files directory. >Thanks, >CMakeLists.txt: >if (WINDOWS) > # build a CPack driven installer package > SET (CPACK_GENERATOR "NSIS") > SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY >HKEY_LOCAL_MACHINE"/SOFTWARE/Wow6432Node/NSIS/Unicode") > include (InstallRequiredSystemLibraries) > include (CPack) >endif (WINDOWS) > > >CPackConfig.cmake: (snip) >SET(CPACK_BINARY_NSIS "") >. >. >SET(CPACK_CMAKE_GENERATOR "Visual Studio 8 2005") >. >. >SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY >"HKEY_LOCAL_MACHINE"/SOFTWARE/Wow6432Node/NSIS/Unicode"") > > >Output: >C:\Phoenix\phoenix-work\indra\build-vc80>cpack cpackconfig.cmake >CPack Error: Cannot find NSIS registry value. This is usually caused by NSIS >not > being installed. Please install NSIS from http://nsis.sourceforge.net >CPack Error: Cannot initialize the generator NSIS > > >_______________________________________________ >Powered by www.kitware.com > >Visit other Kitware open-source projects at >http://www.kitware.com/opensource/opensource.html > >Please keep messages on-topic and check the CMake FAQ at: >http://www.cmake.org/Wiki/CMake_FAQ > >Follow this link to subscribe/unsubscribe: >http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake