小编Har*_*iya的帖子

ExePackage RemotePayload哈希值问题

我已经使用 ExePackage 和 RemotePayload 实现了先决条件,因为我需要使用运行时 webinstaller (DownloadURL) 下载包。但是,当软件包在某个时间(例如季度更新)后升级时,软件包版本和哈希值也会发生变化。因此,我收到类似 0x80091007 的错误(哈希值不正确)。因此,如果有人知道如何忽略哈希值检查,请帮助我。下面是我已经实现的代码:

<ExePackage
Id="MicrosoftEdgeWebview2"
DisplayName="Microsoft Edge Webview2 Runtime"
Compressed="no"
Cache="no"
PerMachine="yes"
Vital ="yes"
Permanent ="yes"
InstallSize="1"
InstallCommand="/silent /install"
DetectCondition="MicrosoftEdgeWebview2Version &gt;= $(var.MicrosoftEdgeWebview2MinimumVersion) OR MicrosoftEdgeWebview2Version64 &gt;= $(var.MicrosoftEdgeWebview2MinimumVersion)"
Name="MicrosoftEdgeWebview2Setup.exe"
DownloadUrl="https://go.microsoft.com/fwlink/p/?LinkId=2124703">
<RemotePayload
               ProductName="Microsoft Edge Webview2 Runtime"
               Description="Microsoft Edge Webview2 Runtime Setup"
               Hash="080e3e4cdcfc809762a32e8fa7cdc0f37b8e36a5"
               Size="1778968" Version="1.3.153.47" />
Run Code Online (Sandbox Code Playgroud)

wix burn

2
推荐指数
1
解决办法
404
查看次数

标签 统计

burn ×1

wix ×1