473,498 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Detecting .NET Framework

This is another form of a question I posed last night.

I know how to detect the .NET Framework using the installer bootstrap, but
what if the user wants to not install the program, but run it from the CD?
How would the program then detect for .NET or would this be an outside
script that has to be written? If so, any suggestions?

Thanks for the information

Brad
Nov 20 '05 #1
6 1090
* "Brad Allison" <ba******@ukcdogs.com> scripsit:
I know how to detect the .NET Framework using the installer bootstrap, but
what if the user wants to not install the program, but run it from the CD?
How would the program then detect for .NET or would this be an outside
script that has to be written? If so, any suggestions?


The application cannot do that because it will only run if the .NET
framework is installed on the machine. You will have to write a
script/application (for example in C) which checks if the framework is
installed and launches the application.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
Hi Herfried,

Is this the same answer as this one?

Can God make a stone which he cannot raise himself?

(From an old Jidish Witz)

:-))

Cor

Nov 20 '05 #3
I was sure that would be the answer, but what do I need to do to detect the
dependancy? I am not very experience at writing scripts.

Thanks for any information, articles or site that you can direct me to. You
are always very helpful.

And Cor, God can do all things if that answers your question :-).

Brad
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2*****************@TK2MSFTNGP12.phx.gbl...
* "Brad Allison" <ba******@ukcdogs.com> scripsit:
I know how to detect the .NET Framework using the installer bootstrap, but what if the user wants to not install the program, but run it from the CD? How would the program then detect for .NET or would this be an outside
script that has to be written? If so, any suggestions?


The application cannot do that because it will only run if the .NET
framework is installed on the machine. You will have to write a
script/application (for example in C) which checks if the framework is
installed and launches the application.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #4
* "Brad Allison" <ba******@ukcdogs.com> scripsit:
I was sure that would be the answer, but what do I need to do to detect the
dependancy? I am not very experience at writing scripts.
Some hints:

<URL:http://groups.google.de/groups?selm=boqh6s%241fci7b%241%40ID-208219.news.uni-berlin.de>
And Cor, God can do all things if that answers your question :-).


:-)

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5
* "Cor Ligthert" <no**********@planet.nl> scripsit:
Is this the same answer as this one?

Can God make a stone which he cannot raise himself?

(From an old Jidish Witz)


"Witz"? "Joke"?

:-)))

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #6
Hi Brad,

The complete Witz (Joke) is

The rabeh says to little Moos
God can do all things

And than little Moos ask the rabeh
Can God make a stone, which he cannot raise himself?

Cor

Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2934
by: barkha shah | last post by:
Hi , Can any one please suggest me the memory Leak detecting tool in Visual Studio.Net 2003 Release version Framework. Can I use Numega Bounds checker for this. Thanks and Regards. barkha
10
2336
by: sanket gupta | last post by:
Hi , When installing my application , i want to check whether the dot net runtime is available on the users computer and if its not , then i would like to provide him with a download location....
1
1559
by: Mark Rae | last post by:
Hi, I'm looking for a reliable way of detecting the version of Windows that the ..NET framework is installed on, specifically the service pack. Currently, I'm using System.Environment.OSVersion...
2
1388
by: Simon Harvey | last post by:
Hi all, Is there any easy way to check a field for calues that have changed on a post back. So the page is sent to the user, the user changes some values and I need to know which ones...
5
1812
by: needin4mation | last post by:
Hi, I have an asp.net 1.1 application that populates data from a database. When the user changes data, they have to hit a button to update the data. The data entry form (same form that is...
4
5644
by: Jeff Stewart | last post by:
Right now, all my VB.NET programs crash on startup if the .NET Framework isn't installed on the target PC. Is there a graceful way to detect, notify-in-a-friendly-way, and quit of the application...
2
1002
by: Mike Gale | last post by:
What ways do you recommend for detecting CLR runtime host? (ASP.NET, win forms app...) I'm considering extending some classes (CLR 1.1) to operate under different runtime hosts. Mike.
79
3702
by: VK | last post by:
I wandering about the common proctice of some UA's producers to spoof the UA string to pretend to be another browser (most often IE). Shouldn't it be considered as a trademark violation of the...
4
2457
by: Ron M. Newman | last post by:
Hi, You install a .NET 2.0 winforms application on a machine that doesn't have the 2.0 redistributables and then run it. How do you elegantly detect that and warn your users? Any way to avoid...
0
7121
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6993
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7197
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4899
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.