I’ve been trying to install SQL Server R2 Management Studio on my customer site DEV machine I’m working with, and suddenly the I’ve got an annoying message saying that I don’t have VS2008 SP1 installed and the installation failed.
Mainly I’m working with VS2010 only, and I really don’t care about VS2008, especially not in concern with Management Studio…
Now I have three options:
1. Uninstall Visual Studio 2008
2. Download and install VS 2008 SP1, which takes decades…
3. Fool installation app to think VS is not installed
Since I really don’t have time to waste, I’ve chosen option number 3. I‘ve downloaded the famous Process Monitor from Microsoft, and monitored registry access by the installation app. Then I’ve noticed it has something to deal with: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv.
I’ve renamed it, and, what do you know… Setup Succeeded!
Few things to concern:
1. Rename the DevDiv key before installation begin to the end of installation.
2. Since the installation creates a new DevDiv, save it (export) to a file and then delete it.
3. Rename back the original DevDiv key and import the file you’ve just exported with the new changes.
AT YOUR OWN RISK
It works for me with one issue: XAML Package fails to load now on VS 2008. Really haven’t checked this before so I really don’t know if it caused by the installation.