EmPlusPlus
EmPlusPlus

Reputation: 181

PTVS Doesn't detect installed VS2010

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

Answers (2)

Christopher Painter
Christopher Painter

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

richie
richie

Reputation: 18648

You can install PTVS with the express edition (I have it installed). See here. See point 2 under the 'Install VS & PTVS' section. In order to get PTVS installed with the express edition of VS, you will have to install the 'PTVS Integrated' package.

Upvotes: 1

Related Questions