[CMake] cmake 2.6.1: CPACK_NSIS_MODIFY_PATH has no effect

Markus Israelsson markus.israelsson at sensegraphics.com
Mon Mar 30 02:30:30 EDT 2009


Hello,

I guess you are running the installer as administrator and also tried
restarting the operating system after installing. If I remember
correctly I sometimes needed to restart the operating system for path
changes to take effect with default NSIS script. I do not remember
exactly with which version of Cmake, could be 2.4.8 or any of the 2.6.x
versions.

Markus


------------------------------

Message: 6
Date: Sun, 29 Mar 2009 18:55:58 +0000
From: Stephen Collyer <scollyer at netspinner.co.uk>
Subject: [CMake] cmake 2.6.1: CPACK_NSIS_MODIFY_PATH has no effect
To: cmake at cmake.org
Message-ID:
	<3e7d7b3f0903291155n633d1acal1405542849707335 at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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.

This is with cmake 2.6.1 and NSIS 2.44, running on Vista with SP1.

Any ideas what could be wrong ?

--

Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.cmake.org/pipermail/cmake/attachments/20090329/6cfc9636/atta
chment.htm>

------------------------------

_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake

End of CMake Digest, Vol 59, Issue 124
**************************************


More information about the CMake mailing list