Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - About "Turn Windows Feature on or off"

Reply
 
Old 07-09-2007   #1 (permalink)
chris


 
 

About "Turn Windows Feature on or off"

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?


My System SpecsSystem Spec
Old 07-10-2007   #2 (permalink)
Andrew McLaren


 
 

Re: About "Turn Windows Feature on or off"

"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
Old 07-11-2007   #3 (permalink)
Mick Murphy


 
 

RE: About "Turn Windows Feature on or off"

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?
>
>

My System SpecsSystem Spec
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
Old 07-11-2007   #5 (permalink)
chris


 
 

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

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Why in Vista Ultimate am I unable to turn on "Internet Information Services" in the turn windows features on or off ? Vista security
How do I PERMANATLY turn off "Navigate" and "Preview" pane for ONE folder????? Vista General
Help: How to turn off a really annoying Explorer "Feature" Vista file management
Troubles using "Turn Windows Feature On or Off" Vista Ultimate x64 Vista installation & setup
Re: Turn off the "Allow" feature? Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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