Click to See Complete Forum and Search --> : .net


PaulJayKnight
October 4th, 2008, 11:32 PM
I have an application I would like to install on a computer without a .net framework. My application cannot download this because web access is protected. Is there a way to get this on my installation disk?

TheCPUWizard
October 4th, 2008, 11:43 PM
There are some tools that allow for this, but I can not (or will not) recommend any of them. If a computer does not have the .Net framework installed, then it is not up to date. There are going to be other issues. Computers should be kept up to date, and this means having the framework installed.

PaulJayKnight
October 5th, 2008, 12:01 AM
Thank you for your response. That is a good enough answer

vuyiswam
October 5th, 2008, 04:19 AM
First of all i dont agree with the Answer by TheCPUWizard

When a Computer does not have .NET Framework , it does not mean that the Computer is not up to date. What if i dont Develop .NET Apps, does that mean my Computer is not upto date. i dont agree. Secondly For a .NET application to run, you need a .NET Framework. Now for now Microsoft has not catered for your request , mybe in the future .NET Versions, you will find something like that. The Setup Project does not have those Capabilities, the only thing you can do when you ship your Application on the CD for Installation , just include the .NET Framework Setup, if the Client Computer does not have .NET installed then go and install it manually.


Hope this is clear and t helps

DataMiser
October 5th, 2008, 09:21 AM
There are lots of newer programs that do require the dot net framework. It doesn't matter if you do any kind of development the frame should still be installed and if it is not then it will soon need to be if you are planning to run new software.

TheCPUWizard
October 5th, 2008, 10:23 AM
First of all i dont agree with the Answer by TheCPUWizard

When a Computer does not have .NET Framework , it does not mean that the Computer is not up to date. What if i dont Develop .NET Apps, does that mean my Computer is not upto date....<snip>

A computer is up to date if and only if all (non-Optional) items from Microsoft Update and all applicable HotFixes are installed, along with any and all updates for every 3rd party program.

Microsoft Update includes the .Net Framework. Infact for Windows Server 2003 and 2008 as well as Vista, the system itself is dependant on the Framework and it is pre installed.

It has NOTHNIG to do with your development efforts.You may not do ANY development, ever.

dglienna
October 5th, 2008, 04:53 PM
The Setup Project does not have those Capabilities, the only thing you can do when you ship your Application on the CD for Installation , just include the .NET Framework Setup, if the Client Computer does not have .NET installed then go and install it manually.

WRONG! You just select the option to install whatever framework that you're deploying to, and it will either download it from the same site, or go to windows update to silently install.

There are a lot of versions out there. I doubt WU will install them all (this year) in Express mode. Anyone an get them using the CUSTOM button.

Just like Silverlight. That's getting pushed out.

TheCPUWizard
October 5th, 2008, 05:12 PM
dglienna is correct.

I also want to point out that the recommended method of installing the framework is via download from Microsoft. This is because it is the only feasible method is ensuring that the latest information is what gets installed on the target machine.

I follow this paradigm, and also include the install on the CD but do NOT ever automatically launch the CD based framework. If the computer can not connect to the internet then I bring up a dialog box and explain the situation and the options to the user.

PaulJayKnight
October 6th, 2008, 06:45 AM
WRONG! You just select the option to install whatever framework that you're deploying to, and it will either download it from the same site, or go to windows update to silently install.

There are a lot of versions out there. I doubt WU will install them all (this year) in Express mode. Anyone an get them using the CUSTOM button.

Just like Silverlight. That's getting pushed out.
You mention selecting the option to install whatever framework I'm deploying to.
are these the options listed in "Prerequisites" button under the Publish tab?
and if I don't know the framework of the client computer is there any harm in selecting
them all? My program is pretty simple and I'd like it to run on just about any computer
within reason. and only download from the internet as a last resort.

TheCPUWizard
October 6th, 2008, 07:27 AM
You mention selecting the option to install whatever framework I'm deploying to.
are these the options listed in "Prerequisites" button under the Publish tab?
and if I don't know the framework of the client computer is there any harm in selecting
them all? My program is pretty simple and I'd like it to run on just about any computer
within reason. and only download from the internet as a last resort.

When you build your program it targets a specific version of the framework...

VS-2001 = Version 1.0 of the Framework
VS-2003 = Version 1.1 of the Framework
VS-2005 = Version 2.0 of the Framework (may include extensions)
VS-2008 = You get to specify in the project properties! up to V3.5

You can also specify via peoprties in your project the minimum and maximum acceptable version of the framework. Typically this is used to
insure that certain service packs are installed....

dglienna
October 6th, 2008, 12:37 PM
Not to mention VB10, and Net 4.0 !

TheCPUWizard
October 6th, 2008, 01:14 PM
Not to mention VB10, and Net 4.0 !

Soon my friend, soon........ ;) :cool: