[CMake] cmake 2.6.1: CPACK_NSIS_MODIFY_PATH has no effect

Eric Noulard eric.noulard at gmail.com
Mon Mar 30 03:05:54 EDT 2009


2009/3/29 Stephen Collyer <scollyer at netspinner.co.uk>:
> I've created an NSIS based installer by using the Cpack module in a
> CMakeLists.txt file,
> and have tried the CPACK_NSIS_MODIFY_PATH setting to add the installation
> path
> to PATH automagically.
>
> When I run the installer, I see the appropriate page (with the "add to this
> user/all users" questions)
> but the path is never added, regardless of which option I select.

Did you manually check the PATH value (echo %PATH% or menu search from
"Computer Properties") ?

Do it right after install and then after a reboot.


-- 
Erk


More information about the CMake mailing list