Reputation: 181
I want to install PTVS for Visual Studio 10. Every time I run msi package with name "PTVS 2.0 VS 2010" it shows me an error that I have to install VS2010 first but I've already had VS2010 express.
I check some solutions on the internet but it didn't work for me for example I add InstallDir in my registry but still getting that error.
Upvotes: 1
Views: 688
Reputation: 55601
You didn't develop the PTVS MSI so therefore this isn't a development question, it's a user question. You should file a bug with the project and get them to look at it.
That said, I decompiled the MSI and it is looking for a registry value:
VSINSTALLPATH = RegLocator(HKLM\Software\Microsoft\VisualStudio\10.0\@InstallDir)
It's looking for it in the 32bit not 64bit hive so if you are on a 64bit OS check under HKLM\SOFTWARE\Wow6232Node\Microsoft......
Later the property VSINSTALLPATH is used in a launch condition to block installation if the property doesn't have a value.
Upvotes: 0