[CMake] 3.4.1 installer overwrites Windows PATH system var

Brad King brad.king at kitware.com
Mon Dec 7 09:06:31 EST 2015


On 12/04/2015 02:12 AM, Vasily Vladimirovich Vylkov wrote:
> Thanks all -- that worked.  The key:
>   regedit.exe --> HKLM\SYSTEM\ControlSet001\Control\Environment\Path
> 
> had a backup of the path var before the CMake install nuked it.
> 
>> How long was your PATH before?
> 
> Just my luck, it was 1028 chars long (just 4 over the threshold).

Thanks.  That is consistent with my hypothesis.  I'm glad you got it
restored (thanks Tamás!).

> Extremely unpleasant from a user perspective.

Yes.  We will look at addressing this for the 3.5 release now that we
understand the cause.

On 12/04/2015 02:13 AM, Vasily Vladimirovich Vylkov wrote:
>
> Do you run it on a machine with PATH set to a string >1024 chars long?

No, so that is why we haven't noticed it.

Thanks,
-Brad



More information about the CMake mailing list