Testing for .net framework installed
I need help writing a program that determines whether or not the .net framework is installed on a particular computer (the program is running on this computer, of course).
If it detects the presence of the .net framework, it runs one program (the installation wizard). If it doens't detect the .net framework, it starts another program (the installation program for the framework) after displaying a short message telling the user what it is doing.
Re: Testing for .net framework installed
Erm... A little of topic and probably a little late, but...
Why would it matter in this case if you can look in the registry in .Net? (Yes, you can by the way.)
If you don't have the .Net Framework installed... How can you possibly run the program to see if is installed...
Easiest way to use .Net to check for the framework... Attempt to run the program... if you can't run it, then you don't have it installed. Just a little logic, but probably false knowing my luck.
Squirrelly1
Re: Testing for .net framework installed
aren't u 2.5 years late for this :D
Re: Testing for .net framework installed
Like I said...
Erm... A little of topic and probably a little late, but...
I hadn't looked at the dates until after I posted... *Ooops*
But I'm still faced with this deployment **** as far as .Net and MDAC go, so between getting up to make coffee and thumbing through old threads, MY DAY IS PACKED!
Later,
Squirrelly1
Re: Testing for .net framework installed
True ... but that was in the morning b4 work and caffeine. Not to mention that it was over 2 years ago :-)