473,385 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

.NET Framework detection

Hi again,

Paul and Dan, thanks for the dotnetfx.exe info!

In general, I have a C# app, being distributed on a cd, no installation
program. Is there any common code that I could use in the application
startup for detecting that the user needs to install .net framework and
throw up a simple dialog pointing to location of dotnetfx.exe I am going to
redistribute?

Thanks again!

Derrick
Nov 16 '05 #1
2 1319
Check if folder %WINDIR%/Microsoft.Net exist in 90% there is FW installed in
this computer.

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "

"Derrick" <de*********@excite.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi again,

Paul and Dan, thanks for the dotnetfx.exe info!

In general, I have a C# app, being distributed on a cd, no installation
program. Is there any common code that I could use in the application
startup for detecting that the user needs to install .net framework and
throw up a simple dialog pointing to location of dotnetfx.exe I am going
to
redistribute?

Thanks again!

Derrick

Nov 16 '05 #2
Your application won't even start up if it's a .NET app and the framework
isn't installed.

You might want to check out the following:

http://www.codeproject.com/dotnet/De...meworkMdac.asp

Note the resources referenced at the bottom of the article, particularly the
third one. Haven't tried it yet, but it looks like a great way to install
both the framework *and* MDAC, which can be missing or an old version on the
target system too. If you need any sort of DB access that can also be a
show-stopper.

--Bob

"Derrick" <de*********@excite.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi again,

Paul and Dan, thanks for the dotnetfx.exe info!

In general, I have a C# app, being distributed on a cd, no installation
program. Is there any common code that I could use in the application
startup for detecting that the user needs to install .net framework and
throw up a simple dialog pointing to location of dotnetfx.exe I am going
to
redistribute?

Thanks again!

Derrick

Nov 16 '05 #3

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

Similar topics

2
by: Darwin Fisk | last post by:
I have an app that is deployed that uses .config file settings. I have an update of that app that I am installing using a setup and deployment project. The basic setup process works fine. Now I...
1
by: Wilson Ricardo Passos Oliveira | last post by:
Hi fellows, I have two simple questions regarding the Framework's deploy and the Setup and Deploy Projects: 1. As I've read in another posts and newsgroups (and as I can imagine), VS.NET...
60
by: Fotios | last post by:
Hi guys, I have put together a flexible client-side user agent detector (written in js). I thought that some of you may find it useful. Code is here: http://fotios.cc/software/ua_detect.htm ...
8
by: R. Smits | last post by:
I've have got this script, the only thing I want to be changed is the first part. It has to detect IE version 6 instead of just "Microsoft Internet Explorer". Can somebody help me out? I tried...
10
by: J-T | last post by:
I have installed .Net framework 1.1 on my box and when I apply .Net framework 1.1 SP1 to it ,it says that to run this application you need to have .net framework 2.0 !!!!!! I can not underestand...
3
by: Hugo Mind | last post by:
Hi, Is there a way through the web to find out if a client has the framework 1.1 installed ? I want people to download an installer for our software which includes the framework 1.1 if they...
2
by: Nak | last post by:
Hi there, Please consider this string of events, 'A' being a client and 'B' being me, A) Your application doesn't work.... B) Please insure the correct version of the...
0
by: origami.takarana | last post by:
Intrusion Detection Strategies ----------------------------------- Until now, we’ve primarily discussed monitoring in how it relates to intrusion detection, but there’s more to an overall...
10
by: Conrad Lender | last post by:
In a recent thread in this group, I said that in some cases object detection and feature tests weren't sufficient in the development of cross-browser applications, and that there were situations...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...

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.