The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=11931 ====================================================================== Reported By: Andrew Pennebaker Assigned To: ====================================================================== Project: CMake Issue ID: 11931 Category: CMakeSetup Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-03-04 20:12 EST Last Modified: 2011-03-04 20:12 EST ====================================================================== Summary: Popup during installation: "Warning! PATH too long installer unable to modify PATH!" Description: I want CMake to add itself to my PATH. At the end of installation, it complains with a popup:
Warning! PATH too long installer unable to modify PATH! I've tried shrinking my system and user PATHs. I've tried running the installer with "Add CMake to the system PATH for all users" and "Add CMake to the system PATH for current user". Both show the popup. I have a long PATH, but the installers for Visual Studio, Python, Haskell Platform, ... don't seem to mind. Possible solutions: * Double CMake's PATH length limit. * Use Advanced Installer (http://www.advancedinstaller.com/) or Nullsoft Installer (http://nsis.sourceforge.net). * Change the warning text to "Failed to add CMake to PATH. Please add C:\Program Files ...\CMake to PATH manually." Steps to Reproduce: Add several directories to PATH. Run the CMake installer, opting to add to PATH. Additional Information: C:\Users\andrew\Desktop>echo %PATH% %CommonProgramFiles%\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Haskell Platform\2010.2.0.0\lib\extralibs\bin;C:\Ruby\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\e\cmd;C:\Program Files (86)\Lua\5.1;C:\Program Files (x86)\Lua\5.1\clibs;C:\Program Files (x86)\Common Files\DivX Shared\;C:\Program Files (x86)\OpenSSH\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Git\cmd;C:\Users\andrew\AppData\Roaming\cabal\bin;C:\Program Files (x86)\Haskell\bin;C:\Python26;C:\Program Files (x86)\Java\jdk1.6.0_18\bin;C:\MinGW\bin;C:\msys\1.0\bn;C:\Program Files (x86)\Inkscape;C:\Program Files\Haxx\cURL;C:\Program Files (x86)\erl5.8.2\bin ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-03-04 20:12 Andrew PennebakerNew Issue ====================================================================== _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
