根据 Microsoft Download Page for .NET Framework 3.5 SP1 , 我应该安装 KB959209和 KB967190安装 .NET Framework 包后立即:
IMPORTANT: After installing the .NET Framework 3.5 SP1 package (either the bootstrapper or the full package) you should immediately install the update KB959209 to address a set of known application compatibility issues. In addition, on Windows Vista x64 and Windows Server 2008 x64, install the update KB967190 to address a file association issue for XPS documents.
我在我的安装程序 ( Inno Setup ) 中处理 .NET Framework 的安装。那么如何检测是否安装了这两个修补程序,以便我决定是否下载并安装它们?我不想用不必要的步骤打扰用户,所以尽可能自动和被动的解决方案是首选。
最佳答案
我有一个类似的问题,我需要检测是否在安装时安装了所需的 KB。我的解决方案是创建一个自定义 EXE,它使用 DTF - 部署工具基础来检查 KB,如果未安装,则以被动模式下载并安装它。然后,您可以从安装过程中调用此自定义 EXE,它可以处理检测适当修补程序的详细信息。讨论可以在以下位置找到:
Detect and require a Windows QFE/patch for during installation
关于.net - 如何检测是否安装了 .NET Framework 修补程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4818630/