Does most of of windows XP machines have .Net framework installed?

Q

Quick Sense

I am building an application that targets Windows users. My application uses
..Net framework 2.0 or later. I would like to know what I can expect on a
customer's machine. Can I expect that windows XP users have installed .Net
framework, an optional feature for XP? Yes, I know some XP users have not
installed it since it is optional. However, if 95% percent of them have, I
figure it is OK to assume the customer has it. For vista and windows 7, .Net
framework is installed automatically.

So here is my question, what is the percentage of Windows XP users that have
installed .Net framework? Is there any statistics on that?
 
M

Mark Adams

Quick Sense said:
I am building an application that targets Windows users. My application uses
.Net framework 2.0 or later. I would like to know what I can expect on a
customer's machine. Can I expect that windows XP users have installed .Net
framework, an optional feature for XP? Yes, I know some XP users have not
installed it since it is optional. However, if 95% percent of them have, I
figure it is OK to assume the customer has it. For vista and windows 7, .Net
framework is installed automatically.

So here is my question, what is the percentage of Windows XP users that have
installed .Net framework? Is there any statistics on that?

Why don't you include with the installer, a routine that checks the host
computer for the .net Framework? If the Framework is not found, the installer
should prompt the user to install .net Framework first. This should cover
everybody whether they have the Framework or not.
 
S

Shenan Stanley

Quick Sense wrote
I am building an application that targets Windows users. My application
uses .Net framework 2.0 or later. I would like to know what I can expect
on a customer's machine. Can I expect that windows XP users have
installed .Net framework, an optional feature for XP? Yes, I know some
XP users have not installed it since it is optional. However, if 95%
percent of them have, I figure it is OK to assume the customer has it.
For vista and windows 7, .Net framework is installed automatically.

So here is my question, what is the percentage of Windows XP users
that have installed .Net framework? Is there any statistics on that?

Just have your installer check for it and prompt the user what to do next if
you plan on making it necessary to run your code. Also - write a decent
uninstall sequence - please.

In reference to your query - how would we know? *Any* answer you get with
any detail would be a guess - no better than yours. Heck - I give
instructions on here on how to remove the .NET Framework (and reinstall
it) - so - who knows what someone has on their machine. You would know your
customer base better than we would, right?
 
V

VanguardLH

Mark said:
Why don't you include with the installer, a routine that checks the host
computer for the .net Framework? If the Framework is not found, the installer
should prompt the user to install .net Framework first. This should cover
everybody whether they have the Framework or not.

Plus it lets the user have the choice up front as to whether or not they
want to install an applications that depends on .Net libraries. Not all
users want that extra layer between the app and the system API, especially
since the resolution of some problems requires uninstalling all versions
(base, service packs, and updates) of .Net, possibly having to use a cleanup
utility (like from Aaron Stebner), and then reinstalling them.

..Net makes it easier for you to code. Because of the reliance on .Net
libraries, there is something to be said for reduced reliability. .NET
programs run in a software environment that manages the program's runtime
requirements. More layers, less reliability. Programmers like the
framework. Users aren't so sure and really don't care if you used C## with
..Net or wrote in compact assembly code (or just old C).

It also means that those users will never see a *NIX version of your
program. Or am I wrong that there is code portability between Windows apps
using .Net to those same apps running on Linux, AIX, HP-UX, Solaris, etc?
You may only care to produce a Windows-only application. Although growing
very slowly, there is an ever-increasing number of users that have chosen to
keep their money and go with some flavor of a *NIX operating system. I use
Windows on my workstation and at home but still have to use almost a dozen
different flavors of *NIX at work. I suspect that anything based on .Net
won't be showing up on non-Windows platforms. That is, there is not
cross-platform portability of code for .Net applications. Microsoft is
getting programmers to lock in on just their Windows platform. Well, .Net
is supposed to be platform agnostic but is it? Has any non-Windows platform
yet written the CLR (command language runtime) libraries needed to run a
..Net application on a *NIX platform? Doable doesn't mean done.

I have no idea what it is that your unidentified application does that
targets just Windows users. However, if it was a common task that is
performed on both Windows, Mac (with OS 10), and Linux then a user might be
looking for a product that has code branches for each of their employed
platforms, not just one of them, like Windows only. Of course, maybe
whatever this Windows-only app performs can only be applied to Windows
(which means it is likely some type of tweaker or config utility for Windows
itself rather than a user-side task, like word processing).

If your app cannot be used except under Windows, and if you detect and
announce the need for .Net at the start of your install (which means you
have to carry along the .Net installation package), then I don't that you
even care whether the potential customer has .Net installed or not. If they
do, your install skips that step and just installs your product. If they
don't, and assuming they're willing to accept the .Net install, your install
gets longer by having to do the user-authorized .Net install followed by
your product's install.

As to what percentage of user's have .Net already installed (but which you
never mentioned WHICH version of .Net), I don't think anyone can give you
that statistic. No version of .Net was pre-installed in Windows XP or prior
non-server versions of Windows. Windows Vista included .Net v3.0. .Net 3.5
is included in Windows 7 (.Net 4 will come out too late). So whether some
version (which may not be what you need) of .Net is already included in a
Windows install depends on what version of Windows you are targeting. The
default install of .Net for each Windows version (and for Visual Studio but
not something considered when discussing *users* of the OS) is shown in a
table at:

http://en.wikipedia.org/wiki/.NET_Framework#Versions
 
T

thanatoid

=?Utf-8?B?UXVpY2sgU2Vuc2U=?= <Quick
(e-mail address removed)> wrote in
I am building an application that targets Windows users. My
application uses .Net framework 2.0 or later. I would like
to know what I can expect on a customer's machine. Can I
expect that windows XP users have installed .Net framework,
an optional feature for XP? Yes, I know some XP users have
not installed it since it is optional. However, if 95%
percent of them have, I figure it is OK to assume the
customer has it. For vista and windows 7, .Net framework is
installed automatically.

So here is my question, what is the percentage of Windows
XP users that have installed .Net framework? Is there any
statistics on that?

I am not a typical user, but if I see the app I am considering
dl'g needs NET, I click on "close window".

How did you program stuff BEFORE NET became available?
 
A

Anteaus

Main issue here is that there is no single .NET runtime. In fact there are at
least three major versions, and a few minor bugfixes. Worse, they are NOT
equivalent. e.g. having .NET 2.0 doesn't mean that a .NET 1.0 program will
work. You need all of the runtimes you have programs for. I've even seen
programs which will only run stably on a specific minor-release of .NET, for
example 2.1 but not on 2.0.

So, the answer to your question is basically No, and if your code is for
general release then that is a good reason to use more traditional coding
tools even if they aren't as easy to use as the .NET-based ones.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top