Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > About "Turn Windows Feature on or off"

Reply
Thread Tools Display Modes

About "Turn Windows Feature on or off"

 
 
chris
Guest
Posts: n/a

 
      07-10-2007
I have developed a program using dotnet, Now i want to deploy on other
Vista machine,
It's OK in most of cast, but if User have turned off the ".NET 3.0",
my program can't work.

So i need to detect whether the ".NET 3.0" is on in my setup program,
Does anybody know how to do it?

 
Reply With Quote
 
 
 
 
Andrew McLaren
Guest
Posts: n/a

 
      07-10-2007
"chris" <> 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


 
Reply With Quote
 
Mick Murphy
Guest
Posts: n/a

 
      07-11-2007
Start > Control Panel > Programs > Program Features > Add and Remove Windows
Components

Expand Net 3.0

"chris" wrote:

> I have developed a program using dotnet, Now i want to deploy on other
> Vista machine,
> It's OK in most of cast, but if User have turned off the ".NET 3.0",
> my program can't work.
>
> So i need to detect whether the ".NET 3.0" is on in my setup program,
> Does anybody know how to do it?
>
>

 
Reply With Quote
 
Mick Murphy
Guest
Posts: n/a

 
      07-11-2007
Start > Control Panel > Programs > Program Features > Add and Remove Windows
Features.

Expand Net 3.0

"Andrew McLaren" wrote:

> "chris" <> 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
>
>

 
Reply With Quote
 
chris
Guest
Posts: n/a

 
      07-12-2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I PERMANATLY turn off "Navigate" and "Preview" pane for ONE folder????? Donk Windows Vista General Discussion 3 02-20-2008 11:30 PM
How do I find the "spell-check" feature in Windows Mail? monty Windows Vista Mail 6 01-14-2008 07:34 PM
Help: How to turn off a really annoying Explorer "Feature" Speedy Windows Vista File Management 6 08-14-2007 11:34 AM
Troubles using "Turn Windows Feature On or Off" Vista Ultimate x64 DirtyAhjushi Windows Vista Installation 0 08-10-2007 09:16 PM
Turn off the "Allow" feature? muxster Windows Vista Administration 5 05-03-2006 05:43 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59