简体   繁体   English

InstallShield 2010 Basic MSI项目-添加对话框以执行序列

[英]InstallShield 2010 Basic MSI Project -Adding a dialog to execute sequence

How to add a custom dialog to the execute sequence of a Basic MSI project in InstallShield 2010? 如何在InstallShield 2010中向基本MSI项目的执行序列添加自定义对话框?

I want this dialog to be shown when installer is run directly as a .EXE file or from the command line MSIEXEC.EXE with basic ui command line argument 我希望当安装程序直接作为.EXE文件运行或从带有基本ui命令行参数的命令行MSIEXEC.EXE运行时显示此对话框

Is this possible to do, if so how? 如果可以的话,这有可能吗?

Thanks in advance 提前致谢

Raghu. 拉古

Create your dialog in the User Interface view. 在“用户界面”视图中创建对话框。 Then, depending on whether you want it to be part of the wizard panels, or standalone, either: 然后,根据您希望将其作为向导面板的一部分还是独立使用:

  • Edit the Control Events of the Next and Back buttons to have NewDialog actions that point to your new dialog, and from it to its new surrounding pages, or 编辑“下一步”和“后退”按钮的“控制事件”,以使NewDialog操作指向您的新对话框,并从该对话框指向其新的周围页面,或者
  • Add to the InstallUISequence a custom action that references your new dialog, and ensure that it has a Control Event action that will close it. 将一个引用您新对话框的自定义操作添加到InstallUISequence中,并确保它具有将关闭该对话框的“控制事件”操作。

Chances are most dialogs will be better as part of the series of wizard panels, so I would suggest going with the first option. 作为大多数向导面板的一部分,大多数对话框可能会更好,所以我建议您选择第一个选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM