c# - How to show "An app on your PC needs the following Windows feature." dialog programmatically? -


when try run .net 3.5 applications on windows 8.1 has not .net 3.5 framework, windows show "an app on pc needs following windows feature. .net framework 3.5 (includes .net 2.0 , .net 3.0)" dialog automatically.

but want show dialog programmatically. think dialog more friendly dism command.

any appreciated.

the dialogue searching provided tool called fondue (features on demand user experience tool). request .net 3.5 need invoke this:

fondue.exe /enable-feature:netfx3 

available features can listed using dism:

dism.exe /online /get-features 

you can find additional details on fondue invocation using fondue.exe /? or on technet.


Popular posts from this blog