tags:

views:

13

answers:

1

How can you detect whether a PC has the .Net 4 Full Profile installed, as opposed to the .Net 4 Client Profile?

+1  A: 

Here are the registry keys. Also if your application is targeting the full .NET 4.0 profile and this profile is not installed you will probably not go as far as checking the registry keys because your application won't run at all. So this check is better to be done when deploying the application on the client machine as part of the setup and deployment project. You could use a launch condition:

alt text

Darin Dimitrov
Thanks Darin - that does the trick. I'm using Tarma installer, so will access the registry keys from the installer.
Sean Kearon