Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Deploying vb.net application at client end
 

Deploying vb.net application at client end

I am facing problem while i am going to deploy my vb.net application at client end it ask for .net framework it client does'nt have..net framework take very large size approx 30 mb its create a big problem if client try to download it from dialup connection,

so, i want to know that is there any way so i can reduce the size of .net framework or i can deploy my vb.net application at client end without installing .net framework.

sanjay patel

a.net1  Wednesday, September 05, 2007 10:37 AM

I'm afraid there isn't

YOU NEED the .NET Framework to run your application. The best thing for you to do is to burn the .NET Framework on CD to your client and tell them to install it, saves them having to download it, then install your application.

.NET Framework is very common these days and really should be installed on all Windows OS's that support the .NET Framework.

Windows XP SP2 and Windows Server 2003 come shipped with .NET 1.1

Windows Vista comes shipped with .NET 3.0

ahmedilyas  Wednesday, September 05, 2007 11:27 AM
no as the clr is different and classes made in .net 3.0 are not available in earlier versions of the framework

ahmedilyas  Thursday, September 06, 2007 11:28 AM
There isn't im afraid, you NEED to install the .NET Framework on the client computer, either they download and install it, or you distribute it with your application.

ahmedilyas  Friday, September 14, 2007 1:47 PM

Well, in the full version of Visual Studio when you create a setup and deployment project, it will automatically install the .NET Framework if the machine does not have it installed, before proceeding to install your application.

In regards for ClickOnce, you can do the same but the process is different

http://www.15seconds.com/issue/041229.htm

http://msdn2.microsoft.com/en-us/library/wh45kb66(VS.80).aspx

you need to add the .NET Framework as a prerequisite

ahmedilyas  Thursday, September 20, 2007 7:15 PM

Windows XP SP2 already has .NET 1.1 shipped with it

Windows Server 2003 already has .NET 1.1 built into it

Windows Vista has .NET 3.0 built into it.

ahmedilyas  Thursday, September 27, 2007 7:47 PM

I'm afraid there isn't

YOU NEED the .NET Framework to run your application. The best thing for you to do is to burn the .NET Framework on CD to your client and tell them to install it, saves them having to download it, then install your application.

.NET Framework is very common these days and really should be installed on all Windows OS's that support the .NET Framework.

Windows XP SP2 and Windows Server 2003 come shipped with .NET 1.1

Windows Vista comes shipped with .NET 3.0

ahmedilyas  Wednesday, September 05, 2007 11:27 AM
i had developed my vb.net application on .net framework 3.0 can it be run on .net framework 1.0.

a.net1  Thursday, September 06, 2007 11:13 AM
no as the clr is different and classes made in .net 3.0 are not available in earlier versions of the framework

ahmedilyas  Thursday, September 06, 2007 11:28 AM

I am in a big problem i have develop my windows application on vb.net 2005.

now i am want to deploy this at each client side is asks for .net framework if client does'nt have .

total size of my application is less than 1 mb but when client is going to download it with .net framework 2.0 the size become 33 mb.

no client want to download such large application,

now .dot net framework becomes a very big problem for me.

i ask so many people but did'nt found any problem.

is there anyway to solve my problem?

please reply asap.

Sanjay Patel

a.net1  Friday, September 14, 2007 1:42 PM
There isn't im afraid, you NEED to install the .NET Framework on the client computer, either they download and install it, or you distribute it with your application.

ahmedilyas  Friday, September 14, 2007 1:47 PM

is it possible that i can migrate my vb.net 2005 application into vb 6.0?

if it is possible then how can i do this and what kind of changes i need to made in my application.

a.net1  Thursday, September 20, 2007 9:01 AM

not possible im afraid unless you re-write all components yourself or use similar controls. I dont see the reason why you cannot install the .NET Framework or let the client install it themselves as .NET Framework is now standard, part of Windows Update and is a one off installation.
ahmedilyas  Thursday, September 20, 2007 9:53 AM
Is there a way to build the project so that it includes the .net installer? So if the client tries to run the .exe without .NET 3.0 installed, a window will pop up and say: "You need to install .net, click here to install it" and run the installer from the .exe folder?

If that's not possible, I heard that when you "Publish" instead of "Build" the application, you can have the option to check for .NET and install it if it is missing, but that requires an internet connection I believe to download the installer.
n24  Thursday, September 20, 2007 6:08 PM

Well, in the full version of Visual Studio when you create a setup and deployment project, it will automatically install the .NET Framework if the machine does not have it installed, before proceeding to install your application.

In regards for ClickOnce, you can do the same but the process is different

http://www.15seconds.com/issue/041229.htm

http://msdn2.microsoft.com/en-us/library/wh45kb66(VS.80).aspx

you need to add the .NET Framework as a prerequisite

ahmedilyas  Thursday, September 20, 2007 7:15 PM

hi,

are you planing to shipped windows xp with any upcoming service pack"

if yes when you are planing to release this?

please let me know asap.

thanx...
a.net1  Thursday, September 27, 2007 11:12 AM

hi,

plz ignore earlier

are you planing to shipped.net frameworkwith any upcoming service pack for windows xp.

if yes when you are planing to release this?

please let me know asap.

thanx...
a.net1  Thursday, September 27, 2007 11:26 AM

Windows XP SP2 already has .NET 1.1 shipped with it

Windows Server 2003 already has .NET 1.1 built into it

Windows Vista has .NET 3.0 built into it.

ahmedilyas  Thursday, September 27, 2007 7:47 PM

And what about shipping microsoft .net framework 2.0 with any upcoming service pack for windows xp.

if yes when you planing to release this.

thanx..

a.net1  Friday, September 28, 2007 7:08 AM
I'm not sure but still will be a couple of months or so before the next release of an SP for Windows XP I believe.

ahmedilyas  Friday, September 28, 2007 8:11 AM

hi,

i have develop my application on vs 2003 with .net framework 1.1 but its not working on winodws xp sp 2.

while i am runing my setup it raise error

The application failed to intialize properly(0*0000135).click on ok to terminate this application.

plz help me...

a.net1  Friday, September 28, 2007 10:25 AM

Aaron Stebner has blogged about one possible solution for this.

http://blogs.msdn.com/astebner/archive/2006/11/25/disabling-services-with-msconfig-to-work-around-setup-failures.aspx

The issue would be that there might be non-microsoft software that interfere with the installation. The steps explained in that blog will ensure that only MS services are running when installing. After install you will enable the services again.

Andreas Johansson  Friday, September 28, 2007 10:22 PM

ok thanx..

but now what i want to know is as you said earlier that

Windows XP SP2 and Windows Server 2003 come shipped with .NET 1.1

Windows Vista comes shipped with .NET 3.0

if i develop my application in vb.net with 1.1 framework so it will work on winxp with sp 2 and later operating systemwithout installing .net frameworkon machine.

please reply asap.

thanx......

a.net1  Saturday, September 29, 2007 7:35 AM
Since newer .NET Framework versions are out, yes it will work. But remember, .NET Framework is a seperate "unit" from the OS, it just so happens they are deploying the .NET Framework with the OS or the Service Pack. No need to worry, the user can download the .NET Framework if the computer does not have it installed.

ahmedilyas  Saturday, September 29, 2007 2:26 PM

You can use google to search for other answers

Custom Search

More Threads

• Deployment Problem
• Old Horse Or Dead Horse? How to properly deploy a ClickOnce application and .NET 3.0
• Browse button on a Textbox on a custom dialog?
• Smart Client Deployment
• IE doesn't load the custom UserControl sometimes
• my app cannot find help files after installation
• C# runtime question? (general question)
• How to activate User Interface after installation?
• How to force a file deployement
• Variations of same program overwrite each other after publishing and installation