Programmatically Install Windows Media Player Using .net

How to programmatically install Windows Media Player using .net.

Windows Media Player is not a product; it is a feature of the Windows operating system. How to enable .net if it is already turned off. and also, if necessary, install a higher version (that is, if Windows Media Player 9 exists and turns on .. It must be upgraded to Windows Media Player 11). All this can be done programmatically.

What are all the ways to do this. In versions of Windows - for example: xp, Vista, Windows 7, etc.

+4
source share
1 answer

you can run the DISM Process.Start utility

this works, at least on Windows 7, if you open the cmd prompt and run this:

 dism /online /enable-feature /featurename:WindowsMediaPlayer 

see full article: How to disable / enable Windows 7 features from the command line

+3
source

Source: https://habr.com/ru/post/1395604/


All Articles