Updated the check to see if .Net installed

Messed up the package.  Replaced with a check of the registry key.