|
Re: About "Turn Windows Feature on or off" On Jul 10, 1:37 pm, "Andrew McLaren" <and...@fakeaddress.com> wrote:
> "chris" <Vist...@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.
>
> Seehttp://msdn2.microsoft.com/en-us/library/aa480173.aspxfor details.
>
> Hope it helps!
>
> --
> Andrew McLaren
> amclar (at) optusnet dot com dot au
Thank you!
You are helpful |