"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