【问题标题】:Inno Setup .net Framework Autoinstaller IssueInno Setup .net Framework 自动安装程序问题
【发布时间】:2013-12-24 17:23:39
【问题描述】:

我正在尝试检查并下载 .net 框架(如果尚未安装) 我关注http://www.codeproject.com/Articles/20868/NET-Framework-1-1-2-0-3-5-Installer-for-InnoSetup

该项目运行良好,在 win 7 中。但在带有 Internet Explorer 6 的 windows xp 中。此错误打开

正如项目页面中提到的,IE6存在一些问题。这个错误的原因是什么,有没有办法解决这个问题。

另外,我希望几乎所有使用 XP 的用户都将拥有更新版本的 Windows 资源管理器(如果由于旧 IE 版本而发生此错误)

【问题讨论】:

    标签: .net installation inno-setup


    【解决方案1】:

    我猜是 WIC 或 Windows Installer 不是 IE6 有问题。

    .net Framework 可能会使用 IE 中的一些组件,但还有很多其他的东西需要检查。

    只需打开 .iss 文件并读取文件头的依赖关系,例如:

    .NET Framework 2.0 (dotnetfx20.iss)

    // requires Windows 2000 Service Pack 3, Windows 98, Windows 98 Second Edition, Windows ME, Windows Server 2003, Windows XP Service Pack 2
    // requires internet explorer 5.0.1 or higher
    // requires windows installer 2.0 on windows 98, ME
    // requires Windows Installer 3.1 on windows 2000 or higher
    // http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5
    

    所以你需要检查是否所有的依赖都得到满足——例如对于 Windows Installer 3.1 检查文件 msi31.iss(同样在其中可能还有其他依赖项)并检查它是否安装成功。

    您需要正确安装所有依赖项才能正确安装 .net Framework!

    【讨论】:

    • 谢谢。但我记得在同一台电脑上手动安装了 .Net Framework(4.0 完整版)。但我使用的是离线安装程序,而不是下载文件的安装程序。这个项目使用在线安装程序。我认为使用离线安装程序会起作用。你怎么看
    • 我还检查了 MSI 版本 3.01