This worked for me:
msiexec /i cmake-x.y.z-windows-x86_64.msi ALLUSERS=1 ADD_CMAKE_TO_PATH=System /qn