How to programmatically install Windows Media player using .net.
Windows media player is not a Product, It is Feature of Windows operating system. How to Turn On using .net program if it already off. and also Installing Higher version if necessary (ie., if Windows media player 9 is Exists and Turn On.. It should be Upgraded to Windows media player 11). Can all these done by programmatically.
What are all the ways for doing so.. In Versions of Windows - eg : xp,Vista,Windows 7, etc.
you could execute the
DISM utility by
this works at least in windows 7, if you open a cmd prompt and run this:
dism /online /enable-feature /featurename:WindowsMediaPlayer
see here for the full article: How to disable / enable Windows 7 features from a command line