如何显示"你的电脑上的某个应用需要下列Windows功能&QUOT。对话框编程? [英] How to show "An app on your PC needs the following Windows feature." dialog programmatically?

查看:1373
本文介绍了如何显示"你的电脑上的某个应用需要下列Windows功能&QUOT。对话框编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在Windows 8.1有没有.NET 3.5 Framework上运行.NET 3.5的应用程序时,Windows会显示您的PC上的应用程序需要下列Windows功能。.NET框架3.5(包括.NET 2.0和。 .NET 3.0)自动对话框。

When I try to run .NET 3.5 applications on Windows 8.1 which has not .NET 3.5 Framework, Windows will show the "An app on your PC needs the following Windows feature. .NET Framework 3.5 (includes .NET 2.0 and .NET 3.0)" dialog automatically.

但我想以编程方式显示该对话框。我认为对话框要比DISM命令更友好。

But I want to show this dialog programmatically. I think that the dialog is much more friendly than DISM command.

任何帮助,将不胜感激。

Any help would be appreciated.

推荐答案

您正在搜索是由一种叫做火锅(点播用户体验工具功能)工具提供的对话。要求.NET 3.5,你需要调用它是这样的:

The dialogue you are searching for is provided by a tool called Fondue (Features on Demand User Experience Tool). To request .NET 3.5 you need to invoke it like this:

FONDUE.exe /enable-feature:NetFx3

提供的功能可以使用DISM列出:

Available features can be listed using DISM:

DISM.exe /Online /Get-Features

您可以找到更多详细信息关于使用 FONDUE.exe /?火锅调用或的nofollow的称号=火锅TechNet上的>。

You can find additional details on Fondue invocation using FONDUE.exe /? or on TechNet.

这篇关于如何显示"你的电脑上的某个应用需要下列Windows功能&QUOT。对话框编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆