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