我使用烧伤安装程序来安装msi和.net框架。但是,当我试图安装.exe时,它会出现错误。
.Net 45 0x80091007-哈希值不正确。我已经从.net下载了链接的执行程序,我从fciv工具获得了使用工具的hashcode
我在下面的场景中所缺少的东西。
<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 = "4.5.50709") AND (NOT VersionNT64 OR (Net4x64FullVersion = "4.5.50709"))">
<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>发布于 2014-08-12 16:03:59
大小是错误的,您可以查看WiX工具集源代码:https://github.com/wixtoolset/wix3/blob/develop/src/ext/NetFxExtension/wixlib/NetFx4.5.wxs。我只需将该文件复制到您的项目中,并在那里进行修改。
https://stackoverflow.com/questions/25264846
复制相似问题