Hi,
As part of my NSIS packaged installer, I need to register an
environment variable e.g. MYSOFTWARE_PATH
I see the variable CPACK_PACKAGE_INSTALL_REGISTRY_KEY but am unsure
about the syntax
I tried the following but it didn't work
SET ( CPACK_PACKAGE_INSTALL_REGISTRY_KEY
"HKEY_CURRENT_USER\\\\Environment\\\\MYSOFTWARE_PATH C:\\\\MyApp"
)
Do I have to create the registry key in the first place ? If so, can
CPack do that ?
Regards
--
Nicholas Yue
Graphics - RenderMan, Houdini, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
--
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