Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Get the .Net Framework version
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Peter Wyss  
View profile  
 More options Apr 11 2003, 10:52 am
Newsgroups: microsoft.public.dotnet.general
From: Peter Wyss <peter.w...@timeware.ch>
Date: Fri, 11 Apr 2003 16:52:10 +0200
Local: Fri, Apr 11 2003 10:52 am
Subject: Get the .Net Framework version
Hello,

I have the following Problem:

I want to install the .NET-Framework together with my
Service-Installation, but only if the Framework isn't installed on the
machine or an older Version then 1.1 is installed (1.0). I created the
Installation with Wise Installation System 9.02. Problem: I can't
receive the Version-Number, because Wise can't operate with Wildcards
(*,?) ->I can't check if the directory
c:\windows\Microsoft.Net\Framework\v1.1* exist and i can't check if the
Key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1*
exist...

Any reasons for this problem? Does anyone has an idea?

Thanks,
Peter Wyss


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AlexS  
View profile  
 More options Apr 11 2003, 11:28 am
Newsgroups: microsoft.public.dotnet.general
From: "AlexS" <salexru200...@SPAMsympatico.PLEASE.ca>
Date: Fri, 11 Apr 2003 11:23:09 -0400
Local: Fri, Apr 11 2003 11:23 am
Subject: Re: Get the .Net Framework version
You can check which versions of FW are installed by creating small stubs
(.exe) in either version of FW, which call e.g. Environment.Version.
Try to start them. One of them will fail. If both succeed - you have both
versions.

E.g.

static void Main() {
    Console.WriteLine("Running under framework {0}",Environment.Version);

}

Create one exe in FW 1.0, another in 1.1. Run both and check output during
installation.

I think presence of directories or registry keys doesn't mean much. It is
unreliable.

HTH
Alex

"Peter Wyss" <peter.w...@timeware.ch> wrote in message

news:#deQgnDADHA.1912@TK2MSFTNGP10.phx.gbl...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »