Wix 3,删除退出对话框
安装后是否可以跳过完成对话框?
我们想要这样做的原因是因为我们在第一次安装完成后启动了新的安装,并且这是有效的。但是,安装在用户按“完成”对话框上的“完成”后开始,但它应该运行新的安装,而不必按“完成”来启动。
我们使用的代码可以在以下位置找到:
https://gist.github.com/ raw/784215/7f7cc7dca73e10fd7d991c3926269719d6b204c6/mycustomui.wxs
在几个步骤中,这就是我想要做的:
- 用户运行.msi,显示带有语言的组合框的对话框
- 用户在组合框中选择语言,然后按“下一步”按钮
- 安装程序解压/安装“真正的”msi,然后退出,然后使用自定义操作以正确的参数启动“真正的”安装。
Is it possible to skip the finish dialog after installation?
The reason why we want this is because we launch a new installation when the first installation finished, and that works. However, the installation starts after the user presses finish on the "finish" dialog, but it should instead run the new installation without having to press finish for it to start.
The code we use can be found at:
https://gist.github.com/raw/784215/7f7cc7dca73e10fd7d991c3926269719d6b204c6/mycustomui.wxs
In a few steps here is what I want to do:
- User runs the .msi, a dialog with a combobox with languages is shown
- User selects languages in the combobox and presses Next button
- Installer unpacks/installs the "real" msi and then exits, and then uses a custom action to start "the real" install with correct parameters.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最适合您提到的场景的东西称为 bootstrapper。有多种选择,您可以找到这个线程很有趣。顺便说一句,据我所知, dotNetInstaller 支持您开箱即用描述的语言场景。
The thing which fits best for the scenario you mentioned is called a bootstrapper. There are several choices, you can find this thread interesting. BTW, as far as I know, dotNetInstaller supports the scenario with languages you described out of the box.
您当前使用
请参阅 自定义内置 WixUI 对话框集。这解释了如何自定义现有的 UI。这是该页面的示例:
您还可以创建自己的 UI 定义。 (如果不包含任何 UI 或 UIRef,则根本不会有 UI)。
You currently use
<UIRef Id="WixUI_Common" />
See the chapter "Changing the UI sequence of a built-in dialog set" on Customizing Built-in WixUI Dialog Sets. That explains how to customize an existing UI. Here is an example from that page:
You can also create your own UI definition. (If you don't include any UI or UIRef, there will be no UI at all).