about recovering the path see <a href="http://superuser.com/questions/523688/deleted-path-environment-variable-how-to-restore">http://superuser.com/questions/523688/deleted-path-environment-variable-how-to-restore</a><div><br>On Thursday, December 3, 2015, Brad King <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 12/03/2015 11:04 AM, Vasily Vladimirovich Vylkov wrote:<br>
> Installing CMake on Windows (7, 64-bit) with the "add cmake to system<br>
> PATH for all users" option overwrote the contents of my PATH variable,<br>
> instead of appending to it.  This is horrible!  I don't know of any<br>
> way to recover my previous PATH value.<br>
><br>
> It also looks like this has been an issue in several previous versions:<br>
>   * <a href="https://cmake.org/Bug/view.php?id=10257" target="_blank">https://cmake.org/Bug/view.php?id=10257</a><br>
>   * <a href="https://cmake.org/Bug/view.php?id=12875" target="_blank">https://cmake.org/Bug/view.php?id=12875</a><br>
><br>
> Shouldn't there be a regression / sanity test case for this prior to<br>
> publishing a new version of the installer?<br>
<br>
For every new release binary we run the installer by hand to verify<br>
that the interaction works.  This doesn't happen to us.<br>
<br>
The installer is produced with NSIS.  I wonder if this is a case of:<br>
<br>
 <a href="http://stackoverflow.com/questions/21897103/nsis-envvarupdate-overwrites-system-path-when-path-is-too-long-is-there-a-wor" target="_blank">http://stackoverflow.com/questions/21897103/nsis-envvarupdate-overwrites-system-path-when-path-is-too-long-is-there-a-wor</a><br>
<br>
How long was your PATH before?<br>
<br>
-Brad<br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br>
</blockquote></div>