View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009878CMakeCMakepublic2009-11-10 11:412010-02-09 14:09
ReporterMichael McFarland 
Assigned ToDavid Cole 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009878: Windows installer destroys user path
DescriptionAfter running the Windows installer cmake-2.6.4-win32-x86.exe with the box checked to add cmake to my user path, that path was *replaced* with the string "C:\Program Files\CMake 2.6\bin".

Many other libraries and programs had previously been in my path, which can only be recovered with a system restore.

The installer needs to append the cmake path to any existing PATH settings.
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0008959closedDavid Cole CMake installation problem for user 'path' variable. 
duplicate of 0010257closedBill Hoffman Installer erasing windows PATH 

  Notes
(0018787)
David Cole (manager)
2009-12-09 22:46

I tried this with an installer built with today's CVS CMake and could not reproduce the issue on my Windows Vista machine.

The behavior should be that it appends CMake's path to the end of your existing PATH variable. That's what I'm seeing here.

Please send more details, if you have them:
- What version of Windows did this happen on?
- Are you sure it was the CMake installer that did this?
- Did you install anything else around the same time as this?
(0018798)
David Cole (manager)
2009-12-10 11:51

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

 Issue History
Date Modified Username Field Change
2009-11-10 11:41 Michael McFarland New Issue
2009-11-10 11:51 Bill Hoffman Status new => assigned
2009-11-10 11:51 Bill Hoffman Assigned To => David Cole
2009-12-09 22:46 David Cole Note Added: 0018787
2009-12-09 22:48 David Cole Relationship added duplicate of 0008959
2009-12-10 11:51 David Cole Note Added: 0018798
2009-12-10 11:51 David Cole Status assigned => resolved
2009-12-10 11:51 David Cole Resolution open => unable to reproduce
2010-02-09 13:55 Bill Hoffman Relationship added duplicate of 0010257
2010-02-09 14:08 Bill Hoffman Status resolved => closed
2010-02-09 14:09 Bill Hoffman Resolution unable to reproduce => duplicate


Copyright © 2000 - 2018 MantisBT Team