刻录安装程序遇到错误.Net 45 0x80091007-哈希值不正确 [英] Burn installer facing error .Net 45 0x80091007-The hash value is not correct

查看:87
本文介绍了刻录安装程序遇到错误.Net 45 0x80091007-哈希值不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Burn安装程序来安装msi和.net框架.但是,当我尝试安装.exe时,它会失败并显示错误.

I am using Burn installer to install msi and .net framework. But when I try to install .exe it fails with error.

.Net 45 0x80091007-哈希值不正确. 我已经从链接下载了.net exe. 我从 fciv工具

.Net 45 0x80091007-The hash value is not correct. I have downloaded the .net exe from Link I got the hashcode using tool from fciv tool

在以下情况下我所缺少的.

What I am missing in below scenario.

<Chain>
      <ExePackage
        Id= "Net45"
        Name = "dotNetFx45_Full_setup.exe"
        Cache= "no"
        Compressed= "no"
        PerMachine= "yes"
        Permanent= "yes"
        Vital= "yes"
        DownloadUrl="http://www.microsoft.com/en-in/download/confirmation.aspx?id=30653"
        DetectCondition="(Net4FullVersion = &quot;4.5.50709&quot;) AND (NOT VersionNT64 OR (Net4x64FullVersion = &quot;4.5.50709&quot;))">
        <RemotePayload
          ProductName="Microsoft .NET Framework 4.5"
          Description="Net45"
          Size="984000"
          Hash="9E8253F0A993E53B4809DBD74B335227"
          Version="4.5.50709.17929"/>
      </ExePackage>
 <MsiPackage
        Id="Installer"
        SourceFile="$(var.Installer.TargetPath)"
        Compressed="yes"
        Vital="yes"
        Permanent="no"
        DisplayInternalUI="yes"
        Visible="yes">
        <MsiProperty Name="INSTALLLOCATION" Value="[InstallFolder]" />
      </MsiPackage>

      <RollbackBoundary />
    </Chain>

推荐答案

大小错误,您可以查看WiX工具集源代码:

The size is wrong, you can look at the WiX toolset source code: https://github.com/wixtoolset/wix3/blob/develop/src/ext/NetFxExtension/wixlib/NetFx4.5.wxs. I would just copy that file into your project and make your modifications there.

这篇关于刻录安装程序遇到错误.Net 45 0x80091007-哈希值不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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