Burn installer facing error .Net 45 0x80091007-The hash value is not correct

0

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-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>
.net
frameworks
wix
bootstrapper
burn
asked on Stack Overflow Aug 12, 2014 by Keshavdas M • edited Aug 12, 2014 by Sean Hall

1 Answer

1

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.

answered on Stack Overflow Aug 12, 2014 by Sean Hall

User contributions licensed under CC BY-SA 3.0