I have developed an application in C# and created its setup installer and msi. I want to check the windows version before installing. I mean if its 95/98, etc then I don't want the user to install, as my application doesn't support those platforms. Any idea how can I know the platform and the bit (2000, XP, Vista, &, etc 32/64 bit) while installing the application ? As also got to execute a exe file based on which bit.
Any help is highly appreciated.