[cmake-developers] [CMake 0014716]: CMake installer can't modify %PATH% if it's 'loo long'.

Mantis Bug Tracker mantis at public.kitware.com
Wed Jan 22 08:30:13 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14716 
====================================================================== 
Reported By:                iljau
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14716
Category:                   CMakeSetup
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-01-22 08:30 EST
Last Modified:              2014-01-22 08:30 EST
====================================================================== 
Summary:                    CMake installer can't modify %PATH% if it's 'loo
long'.
Description: 
CMake windows installer fails to add installation directory to %PATH% if
contents of %PATH% environment variable are above some hardcoded limit.

Steps to Reproduce: 
1. Fill your user %PATH% environment variable with something long (in my case
466 characters).
2. Run installer.
3. Select "Add CMake to the system PATH for current user" in the installer.
4. Click "Next >"
5. After installing cmake, following window pops up:
   "Warning! PATH too long installer unable to modify PATH!"
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-01-22 08:30 iljau          New Issue                                    
======================================================================



More information about the cmake-developers mailing list