[CMake] set env vars with nsis installer created by cpack

David Graf david.graf at 28msec.com
Thu Aug 7 04:20:10 EDT 2008


Hello

I am creating an nsis package from my cmake project with cpack and have the
following question:
Is there a possibility in cpack to force the nsis installer to add an entry
to the windows environment variables which contains the path to the
installed package as value? The environment vars should contain after
installation an entry like "PROJECTNAME_HOME=C:\Program Files\projectname".

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080807/3b7ede34/attachment.htm>


More information about the CMake mailing list