View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008959CMakeCMakepublic2009-05-05 03:582010-12-14 18:49
ReporterDenis Shamonin 
Assigned ToDavid Cole 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0008959: CMake installation problem for user 'path' variable.
DescriptionHi,
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.
TagsNo tags attached.
Attached Files

 Relationships
related to 0008177closedDavid Cole CPACK_NSIS_MODIFY_PATH does not add to or remove from the All Users system path 
has duplicate 0009878closedDavid Cole Windows installer destroys user path 

  Notes
(0017458)
Bill Hoffman (manager)
2009-09-14 14:10

What version of CMake is this, and can you describe the steps to reproduce.
(0017554)
Denis Shamonin (reporter)
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 (manager)
2009-10-05 17:14

Is this possibly fixed by the same change that fixed issue 0008177?
(0018797)
David Cole (manager)
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 (manager)
2010-12-14 18:49

Closing bugs that have been resolved for more than 3 months without any further updates.

 Issue History
Date Modified Username Field Change
2009-05-05 03:58 Denis Shamonin New Issue
2009-09-14 14:10 Bill Hoffman Note Added: 0017458
2009-09-14 14:11 Bill Hoffman Status new => assigned
2009-09-14 14:11 Bill Hoffman Assigned To => Bill Hoffman
2009-09-16 08:13 Denis Shamonin Note Added: 0017554
2009-09-16 08:20 Bill Hoffman Assigned To Bill Hoffman => David Cole
2009-10-05 17:14 David Cole Relationship added related to 0008177
2009-10-05 17:14 David Cole Note Added: 0017964
2009-12-09 22:48 David Cole Relationship added has duplicate 0009878
2009-12-10 11:50 David Cole Note Added: 0018797
2009-12-10 11:50 David Cole Status assigned => resolved
2009-12-10 11:50 David Cole Resolution open => unable to reproduce
2010-12-14 18:49 David Cole Note Added: 0024067
2010-12-14 18:49 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team