This project is read-only.
1

Closed

Failed to install (CMakeToolsSetup-1.1.msi) on machine which only has Visual Studio 2013

description

I did install CMake Tools for Visual Studio 1.1 successfully, on a machine which has both Visual Studio 2010 and 2013 :-) However, a college of mine tried to install CMake Tools as well, and received the following message:

"CMake Tools for Visual Studio requires either Visual Studio 2010 or Visual Studio 2012, neither of which was detected on your computer."

He could not install CMake Tools for Visual Studio 1.1, apparently because his machine only has Visual Studio 2013.

We both simply installed by running CMakeToolsSetup-1.1.msi and selecting the Typical installation.

Do you have a suggestion how to work around this issue and get CMake Tools installed on his machine as well?

Image

file attachments

Closed May 12, 2014 at 1:07 PM by golubdr

comments

golubdr wrote Apr 29, 2014 at 1:17 PM

What edition of VS 2013 is your friend using? If it's one of the express editions, they don't support extensions. However, you can download the free Visual Studio Shell from Microsoft's web site, which will enable you to run CMake Tools for Visual Studio.

Niels_Dekker wrote Apr 30, 2014 at 2:41 PM

Hi David,

Thanks for your reply! We like your Tools very much :-) We're using VS 2013 Ultimate. The installer clearly says that it requires "either Visual Studio 2010 or Visual Studio 2012", so I think it's a bug of the installer.

BTW, eventually my colleague got it working by copying the files from my disk, from "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\CMake Tools for Visual Studio" (and touching "extensions.configurationchanged" afterwards).

Kind regards, Niels

golubdr wrote May 3, 2014 at 5:07 PM

I'm not sure why you would be getting that message with CMake Tools for Visual Studio 1.1. It was tested on a VM with just VS 2013 installed prior to release, and I repeated the test this morning just to make sure. Am I correct in assuming that your friend downloaded the installer from the official web site at http://cmaketools.codeplex.com? The only thing I can think of is that someone might have forked the project and created their own version 1.1 that doesn't support VS 2013.

Niels_Dekker wrote May 5, 2014 at 10:18 AM

Yes, my colleague downloaded CMakeToolsSetup-1.1.msi from http://cmaketools.codeplex.com. However, it looks like we have a possible explanation now! :-)

In the past, my colleague installed VS2010, as well as version 1.0 RC3 of your CMake Tools. Before installing VS2013, he uninstalled VS2010, but he did not uninstall CMake Tools 1.0 RC3. Now we think that the installer CMake Tools 1.1 automatically tries to uninstall 1.0 RC3. Right?

Trying to uninstall CMake Tools 1.0 RC3 triggers this error message: CMake Tools for Visual Studio requires either Visual Studio 2010 or Visual Studio 2012...

Do we understand correctly that CMake Tools 1.0 RC3 cannot be uninstalled from a machine which no longer has VS2010 or VS2012? If so, do you have a suggestion how to manually remove CMake Tools 1.0 RC3 in this case, in order to allow properly installing version 1.1?

golubdr wrote May 10, 2014 at 3:37 PM

I apologize for the delay in getting back to you. I've had a number of things on my plate and haven't had a chance to further investigate the issue until now. Open the Registry Editor and navigate to HKEY_CURRENT_USER\Software\Microsoft\Installer\Products. Under this key, you'll see a subkey for each product installed on your system using Windows Installer. Find the subkey for CMake Tools for Visual Studio and delete it. This should force the installation of the new version to go through. I've also committed a patch that should prevent this issue from arising with future versions.

Niels_Dekker wrote May 12, 2014 at 10:05 AM

Thank you, David! Cool! Feel free to mark the issue as fixed. :-)

BTW, my colleague already fixed the problem by running IObit Uninstaller (from www.iobit.com/advanceduninstaller.html) before installing CMake Tools 1.1.