将 WiX UI 迁移到刻录 [英] Migrate WiX UI to Burn

查看:30
本文介绍了将 WiX UI 迁移到刻录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用 WixUI_Mondo_MyApp.wxs 文件的自定义 UI 的工作 WiX 安装程序.我必须扩展我的安装程序才能运行另一个 exe 安装程序.我知道 Burn 是这样做的方法.

I have a working WiX installer with a custom UI using a WixUI_Mondo_MyApp.wxs file. I have to extend my installer to also run another exe installer. I understand Burn is the way to do this.

我创建了一个 Burn 项目,该项目将我的原始 MSI 与自定义 UI(使用 DisplayInternalUI="yes")链接起来,并且工作正常.但是我不希望弹出两个 UI(Burn 默认 UI 和我的 MSI UI),我需要从 MSI UI 获取一些信息以确定我是否应该安装另一个 exe(它将列为其中之一)功能).

I created a Burn project that chains my original MSI with the custom UI (using DisplayInternalUI="yes"), and that works fine. But I don't want two UIs popping up (the Burn default UI, and my MSI UI), and I need to get some info from the MSI UI to determine if I should install the other exe (it will listed as one of the features).

我认为正确的解决方案是将我的 UI 代码从我的 MSI 迁移到我的 Burn 项目,但我找不到描述如何执行此操作的文档.

I suppose the proper solution would be to migrate my UI code from my MSI to my Burn project, but I can find no docs on describing how to do this.

提前致谢.

推荐答案

没有迁移路径;MSI UI 是使用 MSI UI 表声明的,Burn 支持引导程序应用程序中的任意代码.如果您的 UI 自定义中有任何逻辑,则必须编写一个自定义引导程序应用程序以将其打包.

There is no migration path; MSI UI is declarative using the MSI UI tables and Burn supports arbitrary code in a bootstrapper application. If you have any logic in your UI customizations, you'd have to write a custom bootstrapper application to get that in a bundle.

这篇关于将 WiX UI 迁移到刻录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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