【发布时间】:2016-06-30 16:38:10
【问题描述】:
我正在编写安装 .Net 框架和可再发行组件(下载和安装)的自定义 wpf 引导应用程序,但它正在跳过 msi 包进行安装。
Wix 代码:
下面是我添加的下载和安装的事件
void Bootstrapper_ResolveSource(object sender, ResolveSourceEventArgs e)
{
if (!String.IsNullOrEmpty(e.DownloadSource))
{
e.Result = Result.Download;
this.Engine.Log(LogLevel.Verbose, "download source is not empty "+e.DownloadSource);
}
else
{
e.Result = Result.Continue;
}
}
目前我使用的是 wix 3.10 版本。
日志文件:
https://drive.google.com/open?id=0B-iKQhr12DRmVjZzbDE0US1vcm8
备用链接: https://drive.google.com/file/d/0B-iKQhr12DRmVjZzbDE0US1vcm8/view
请为进一步的步骤提供宝贵的帮助。在此先感谢
【问题讨论】: