View Single Post
Old 07-11-2007   #4 (permalink)
Mick Murphy


 
 

Re: About "Turn Windows Feature on or off"

Start > Control Panel > Programs > Program Features > Add and Remove Windows
Features.

Expand Net 3.0

"Andrew McLaren" wrote:

> "chris" <VistaCh@gmail.com> wrote ...
> > So i need to detect whether the ".NET 3.0" is on in my setup program,
> > Does anybody know how to do it?

>
> Unfortunately, there is no API to get the Framework version.
>
> Look at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework
> Setup\NDP\v3.0\Setup
>
> See if DWORD value InstallSuccess == 1.
>
> If true, .NET 3.0 is installed.
>
> See http://msdn2.microsoft.com/en-us/library/aa480173.aspx for details.
>
> Hope it helps!
>
> --
> Andrew McLaren
> amclar (at) optusnet dot com dot au
>
>

My System SpecsSystem Spec