View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010282CMakeCCMakepublic2010-02-12 13:592010-02-12 15:25
ReporterFritz Dierks 
Assigned To 
PrioritynormalSeverityblockReproducibilityN/A
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010282: CMake installer cleared the PATH variable
DescriptionAfter installing CMake 2.8 the PATH variable contained only the CMake bin directory, that is it read:

   PATH=C:\Programme\CMake 2.8\bin

Arrrgh!!!

We had a similar effect some time ago with the NSIS installer in one of our own projects. It turned out one must use the "large strings build" of NSIS in order to avoid this. The description says "If you are working with large strings use this build which has a maximum string length of 8192 bytes instead of the default of 1024 bytes." (see http://nsis.sourceforge.net/Special_Builds [^]).

The PATH variable on some computers can get pretty long and if it exceeds 1024 bytes is seems that NSIS cannot cope and deletes the content of the PATH when attempting to append another directory. That's also the reason why you normally don't see this problem when testing on a clean machine.

TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0010257closedBill Hoffman Installer erasing windows PATH 

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change
2010-02-12 13:59 Fritz Dierks New Issue
2010-02-12 15:25 Bill Hoffman Relationship added duplicate of 0010257
2010-02-12 15:25 Bill Hoffman Status new => closed
2010-02-12 15:25 Bill Hoffman Resolution open => duplicate


Copyright © 2000 - 2018 MantisBT Team