Home All Groups Group Topic Archive Search About

Configuration settings and resulting error message

Author
25 Dec 2005 11:40 AM
GW
Hi all,

I just would like other users out there to help me confirm some
behaviors with the following configuration file layout:

<configuration>
   <startup>
      <supportedRuntime version="v1.1.4322"/>
      <requiredRuntime version="v1.1.4322" safemode="true" />
   </startup>
</configuration>

What would this configuration file give me (as in error messages, if
there is one) in the following scenarios:
1. a system with only .NET 1.0 installed
2. a system with both .NET 1.1 and 2.0 installed
3. a system with only .NET 2.0 installed, and
4. a system with no .NET is installed

Thanks
GW

Author
25 Dec 2005 1:04 PM
Siva M
Assuming the program was built with .NET 1.1:

1. Program doesn't run
2. Program runs using .NET 1.1
3. Program doesn't run
4. Program doesn't run

Also, <requiredRuntime> is only used for .NET 1.0

"GW" <gwong***@gmail.com> wrote in message
news:1135510814.848748.142610@g43g2000cwa.googlegroups.com...
Hi all,

I just would like other users out there to help me confirm some
behaviors with the following configuration file layout:

<configuration>
   <startup>
      <supportedRuntime version="v1.1.4322"/>
      <requiredRuntime version="v1.1.4322" safemode="true" />
   </startup>
</configuration>

What would this configuration file give me (as in error messages, if
there is one) in the following scenarios:
1. a system with only .NET 1.0 installed
2. a system with both .NET 1.1 and 2.0 installed
3. a system with only .NET 2.0 installed, and
4. a system with no .NET is installed

Thanks
GW
Author
25 Dec 2005 9:22 PM
GW
Yes, I know what the result would be. I am just looking for the exact
error messages that would pop up, if there is one for each case.
Author
27 Dec 2005 9:51 PM
GW
I guess I wasn't very clear on what I was trying to get at. I basically
want to set up the config file such that I would see the following
error message when .NET 1.1 is not found on a system:

========================================================

To run this application, you first must install one of the following
versions of the .Net Framework:

  1.1.4322

Contact your application publisher for instructions about obtaining the

appropriate version of the .Net Framework.

========================================================

However, it doesn't seem to work very well in cases 1, 3, and 4. Does
anyone know why that is?
Author
3 Jan 2006 8:01 PM
GW
Does anyone have an idea how to do this?

AddThis Social Bookmark Button