The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15635 ====================================================================== Reported By: kdawgud Assigned To: ====================================================================== Project: CMake Issue ID: 15635 Category: (No Category) Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-06-29 09:18 EDT Last Modified: 2015-06-29 09:18 EDT ====================================================================== Summary: CPACK_NSIS_MODIFY_PATH has no affect on PATH variable Description: I have a 64-bit windows C++ project where I'm using the NSIS generator for CPack. The installer appears to work fine, except that the PATH variable is not changed at all even when specified by the user during install. The CPACK_NSIS_MODIFY_PATH variable is specified in the cpack config to support changing the path during install. It doesn't seem to matter if "all users" or "current user" is selected.
Steps to Reproduce: 1) Use CMake 3.1 to generate MS Visual Studio solution file for 64-bit (VS 2010). 2) Build project, then build "package" withing visual studio 3) Run the NSIS .exe installer generated by cpack 4) Select "Add xxxx to the system PATH for all users" when prompted 5) When NSIS install is complete, observe that "echo %PATH%" does not reflect the installed path 6) Reboot and still observe http://www.cmake.org/Bug/view.php?id=5 holds true. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-06-29 09:18 kdawgud New Issue ====================================================================== -- 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-developers