[cmake-developers] CMake 32 and 64 bit packages on Windows

Brad King brad.king at kitware.com
Tue Jun 21 09:37:36 EDT 2016


On 06/20/2016 05:10 PM, Stephen Kelly wrote:
> * Install the CMake 3.6 RC 64 bit package
> ** The install location for CMake 3.6 RC 64 bit was not added to my PATH?

I just un-installed my 64-bit RC and re-installed it with the option
to manipulate the system PATH.  At this point the PATH as reported in
the Windows system settings dialog contains the proper modification.
However, when I start a command prompt through a shortcut (e.g. in
the start menu) the prompt does not have the path.  If I instead do
Start -> Run -> `c:\Windows\system32\cmd.exe` then that prompt gets
the PATH with the modification.  I logged out and logged back in and
then everything gets the proper PATH.

Then I un-installed again and had to logout/login again to get the
PATH updated for programs launched through shortcuts.

> * Install the CMake 3.6 RC 32 bit package
> ** This added the correct directory to my PATH

I suspect the above may be a problem in Windows with interaction
between 64-bit configuration updates and a 32-bit explorer.exe
environment running the login session, but I'm not familiar enough
with this area of Windows to know.

Nils, the installers in question were produced from your WiX
installer work (thanks again for that!).  Is this something wrong
with the 64-bit installer or simply a Windows/MSI subtlety/bug?

Thanks,
-Brad


More information about the cmake-developers mailing list