English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I need a program that will test for the .NET Framework 2.0 on a system and download it if not installed or launch an exe if it is installed/ Anyone know where I can get this?

2006-12-31 11:41:42 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

I think my question is not clear enough. I ahve a program that I am trying to distribute. However, I don't want it to be installed, just run, but it needs .NET 2.0. So I need an app that is non .NET that will test for the framework and, if it is not found, install it from the web, or if it is found run my app.

2006-12-31 12:00:04 · update #1

I need a way to run it without installing. ClickOne will not work because it needs to install the files. I need this to check and if it exists run an exe from where it is.

2006-12-31 12:08:04 · update #2

In order the add a registry check to my program the program would have to run, which it cannot do withouth the framework.

2006-12-31 12:10:02 · update #3

I cannot do it with a depoyment project. This is a reader that comes in a self-extracting exe of resourcefiles and extracts to a temp folder. Therefore the exe cannot be installed because it needs to stay in the temp folder.

2006-12-31 12:43:33 · update #4

4 answers

http://www.dotnet247.com/247reference/msgs/57/289035.aspx

2006-12-31 15:02:53 · answer #1 · answered by Anonymous · 0 0

if you developed your .net 2.0 application in visual studio 2005, you can setup click once deployment to automatically detect and install framework 2.0 if it's not found.

in your solution pane, right click the project, hit properties, hit the PUBLISH side tab, then hit the prerequisites button, select .NET framework 2.0.

As an option you could just see which .net 2.0 keys are in the registry and have your program check for those keys, if they're not there then run a "Process" object of the installer (which you would have to include with your program).

2006-12-31 20:05:09 · answer #2 · answered by Jhered 3 · 0 0

I don't know if there's an all-in-one.
But if you go to Start / Control Panel / Add or Remove Programs, it will be listed as Microsoft .Net Framework 2.0 if it's on your system. If it's not, go to:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en
and download and install it.

2006-12-31 19:48:12 · answer #3 · answered by Newstech 1 · 0 0

Do you have a deployment project for your exe?

2006-12-31 20:37:24 · answer #4 · answered by IAnswer 2 · 0 0

fedest.com, questions and answers