473,473 Members | 1,874 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

best practices for distributing .net apps

hi all,

i'm wondering if there are any best practices for distributing apps
which require the .net framework to run.

i've read about using the .net bootstrapper which will install the .net
framework as a step in the regular apps' installation if the user
doesn't have the framework. however, when i include the dotnetfx
redistributable the size of the download is about 23mb as opposed to
300k for my app.

i'd like people who already have the .net framework to just download
the 300k app and others to download the 23mb file but i don't want to
make users decide what they should do. any ideas?

thanks,
krish

Nov 17 '05 #1
2 1399
Krish,

You can always create two separate installs, and direct the person to
the proper install based on the user agent string (for IE, it includes the
latest .NET runtime installed on the machine).

However, I don't think that this is a good idea. Rather, if you can, I
would check out ClickOnce, which is a new feature (to put it lightly) in
..NET 2.0. It will handle things like this (installing prerequisites). It's
pretty involved, but is very flexible in terms of helping with
installations.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Krish" <st*********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
hi all,

i'm wondering if there are any best practices for distributing apps
which require the .net framework to run.

i've read about using the .net bootstrapper which will install the .net
framework as a step in the regular apps' installation if the user
doesn't have the framework. however, when i include the dotnetfx
redistributable the size of the download is about 23mb as opposed to
300k for my app.

i'd like people who already have the .net framework to just download
the 300k app and others to download the 23mb file but i don't want to
make users decide what they should do. any ideas?

thanks,
krish

Nov 17 '05 #2
Thanks! I'll check out ClickOnce. The only thing is that I'm
currently developing using .NET 1.1. Not sure if this would present
problems.

One option I had considered was having every user download a small file
which could check the appropriate registry key for the version of .NET.
Based on this I was thinking that this small file could spawn a
download of either the 300k or 23mb file. Is this type of thing
discouraged?

Thanks!

Nov 17 '05 #3

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

Similar topics

11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
4
by: MassDev | last post by:
A very nice paper on prevalent GUI design best practices for C/C++ apps is posted at: http://www.ics.com/developers/papers/
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
0
by: karim | last post by:
I have a programmer that wants to learn asp.net(c#) and best practices for coding styles, OO and ease of maintenance. What's the best sample application out there that is a very good source for...
1
by: Vincent V | last post by:
Hey i am just starting a new project and from the start i want to make sure my app is as Object Orientated as possible I have a couple of questions in relation to this Question 1: Should i...
8
by: SStory | last post by:
When I right a class, I am wondering what are the best practices for error handling? Do I try..catch and trap the error and if so what do I do with it? Because most likely the class user will...
5
by: Graham Charles | last post by:
I've got several generic "library" routines that are used by many of my controls & applications (things like string manipulation, generic error handling, an "about" box generator, etc.). As I...
4
by: Ned Balzer | last post by:
Hi all, I am pretty new to asp.net; I've done lots of classic asp, but am just beginning to get my mind wrapped around .net. What I'd like to do is include some code that tests if a user is...
3
by: John Dalberg | last post by:
I am looking for an ASP.NET application on CodePlex which exemplifies best practices for the following: - Use of interfaces - Seperation of the UI, business and data tiers - Data Tier that uses...
0
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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.