[CMake] cmake 2.6.1: CPACK_NSIS_MODIFY_PATH has no effect

Stephen Collyer scollyer at netspinner.co.uk
Mon Mar 30 03:59:25 EDT 2009


2009/3/30 Eric Noulard <eric.noulard at gmail.com>

> 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.
>

I've checked %PATH% and looked in the registry; it makes no difference if I
reboot or not.

--

Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090330/249dbbf9/attachment.htm>


More information about the CMake mailing list