Tuesday, June 06, 2006

Detecting Which .Net Frameworks Are Installed

I'm getting a small handful of reports that the basic PocketPollster Windows application cannot be installed and run successfully. This is very odd. The only explanation I can think of is that the .Net Framework 1.1 is either not installed or not installed properly.

To detect the former, one can look in the registry for the presence of this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP

The children of this key determine which versions of the framework are installed. Here's a guide:
  • Version 1.1 - 1.1.4322
  • Version 2.0 - 2.0.50727
Of course, the fullproof way to ensure it's installed properly is to remove it if it's present and then reinstall it. You can get a copy here.

No comments: