Good if it is possible.
But the reality is often more gray.
XP no SP, XP SP1, XP SP2, 2003 no SP, 2003 SP1, Vista = 6 possible
Not quite...
If you are writing a WinForms app, then you would logically expect your
users to be using the latest service pack i.e. WinXP + SP2 - same for 64-bit
XP... Many, many apps will tell you at installation time that they require
SP2 of XP - nothing wrong with that...
The various versions of Vista don't work differently one from another - they
simply include more or less features - so pick the "lowest" one which your
app can support and test on that - 32-bit and 64-bit, obviously...
Windows 2003 is a server, not isn't a desktop platform, so put a warning
message in your startup saying that your app isn't designed to be run on
that platform or, better still, prevent it from even being installed on that
platform...
So that makes four versions of Windows: 32-bit WinXP + SP2, 64-bit WinXP +
SP2, 32-bit Vista & 64-bit Vista
As and when Microsoft bring out later service packs, then you will need to
test your app on them and, if necessary, issue a patch - this was especially
true when SP2 for XP was released, as it even stopped some of Microsoft's
own apps from working. Again, nothing you can do about that...
let us say 20 relevant languages
If your app supports globalisation, then you *will* have to test it on
various languages - that's just the way it is... If you don't need
globalisation, then you don't... Put a warning in the setup and/or
installation which says that your app is not designed to be run on this or
that language version of Windows...
If we're talking about WebForms, then you will need to test on many more
browsers than that, and not just on the Windows platform...
WinForms apps are compiled for one particular version of the .NET
Framework - the setup will make sure that that version is installed...
Again, if your app interfaces with Office, you *will* need to test against
all the versions which it is designed to support...
and it becomes impossible to test.
If you really believe that, then you're in the wrong business...