[CMake] Setting environment variables on windows on install

2015-01-24 Thread Gonzalo Garramuno
I would like to set an environment variable in the NSIS installer, other 
than PATH during the install.  Can someone show me how?


--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake


Re: [CMake] Setting environment variables on windows on install

2015-01-24 Thread Hendrik Sattler
Hi,

setting global environment variables in windows is just adding/editing some 
registry keys. As an alternative, you can run setx command in a cmd.exe 
instance.

HS


Am 24. Januar 2015 21:29:20 MEZ, schrieb Gonzalo Garramuno ggarr...@gmail.com:
I would like to set an environment variable in the NSIS installer,
other 
than PATH during the install.  Can someone show me how?

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake