MantisBT - CMake
View Issue Details
0008959CMakeCMakepublic2009-05-05 03:582010-12-14 18:49
Denis Shamonin 
David Cole 
normalmajorsometimes
closedunable to reproduce 
CMake-2-6 
 
0008959: CMake installation problem for user 'path' variable.
Hi,
On WinXP CMake has a bad habit to override user 'path' variable settings.
Basically it will remove your previous settings and replace it with

Variable name: path
Variable value: C:\Program Files\CMake 2.6\bin

This is not correct, I explicitly selected to add CMake to user variable settings. But was not expected old setting to be removed.

-Denis.
No tags attached.
related to 0008177closed David Cole CPACK_NSIS_MODIFY_PATH does not add to or remove from the All Users system path 
has duplicate 0009878closed David Cole Windows installer destroys user path 
Issue History
2009-05-05 03:58Denis ShamoninNew Issue
2009-09-14 14:10Bill HoffmanNote Added: 0017458
2009-09-14 14:11Bill HoffmanStatusnew => assigned
2009-09-14 14:11Bill HoffmanAssigned To => Bill Hoffman
2009-09-16 08:13Denis ShamoninNote Added: 0017554
2009-09-16 08:20Bill HoffmanAssigned ToBill Hoffman => David Cole
2009-10-05 17:14David ColeRelationship addedrelated to 0008177
2009-10-05 17:14David ColeNote Added: 0017964
2009-12-09 22:48David ColeRelationship addedhas duplicate 0009878
2009-12-10 11:50David ColeNote Added: 0018797
2009-12-10 11:50David ColeStatusassigned => resolved
2009-12-10 11:50David ColeResolutionopen => unable to reproduce
2010-12-14 18:49David ColeNote Added: 0024067
2010-12-14 18:49David ColeStatusresolved => closed

Notes
(0017458)
Bill Hoffman   
2009-09-14 14:10   
What version of CMake is this, and can you describe the steps to reproduce.
(0017554)
Denis Shamonin   
2009-09-16 08:13   
Hi Bill,

Cmake version 2.6.4 (cmake-2.6.4-win32-x86.exe)
I've just managed to reproduce it again.

Steps that I've done:
1. Uninstall current CMake installation 2.6.4
2. Install again.
3. Select option 'Add Cmake to system path for current user'
4. Check user variables.
Variable name: path
Variable value: C:\Program Files\CMake 2.6\bin

Working fine if option 'Add Cmake to system path for all users' has been selected.
Thanks,

-Denis
(0017964)
David Cole   
2009-10-05 17:14   
Is this possibly fixed by the same change that fixed issue 0008177?
(0018797)
David Cole   
2009-12-10 11:50   
I tried the official CMake 2.6.4 binary installer downloaded from cmake.org in three scenarios just now:
- on Vista, as an admin user
- on XP, as an admin user
- on XP, as a non-admin user

In each case, I verified that before installing, I had a value in my USER PATH variable. After installing, the value was appended with CMake's bin dir (PATH=%PATH%;C:\...\CMake 2.6\bin). Then, after uninstalling, the value was back to its original value again.

I also tried an installer that I built myself against CVS CMake, and it also did not reproduce on Vista, as an admin user.

Were you using the official installer from cmake.org? Or one that you built yourself? Did you install anything else that may have destroyed your user PATH value? How are you checking your user PATH value?

I could not reproduce the symptoms described here, so I am closing it. If you have more/new/different information that would enable me to reproduce the issue, please re-open it and add a note with that new information.

Thanks,
David Cole
(0024067)
David Cole   
2010-12-14 18:49   
Closing bugs that have been resolved for more than 3 months without any further updates.