如何在使用installshield的升级过程中显示EULA [英] how to show EULA during upgrade using installshield

查看:124
本文介绍了如何在使用installshield的升级过程中显示EULA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以通过Installshield 2011中的采访"面板启用EULA窗口,并且在首次安装程序时可以正常工作.但是,当我们进行升级时,它不会显示在对话框序列中.

the EULA window is enabled through the Interview panel in Installshield 2011, and it works fine when installing the program first time. However, it won't show in the dialog sequence when we do the upgrade.

我猜这是Installshield中的默认行为,是否有可能一直显示它?这样做明智吗?

I guess it is a default behaviour in Installshield, is it possible to show it all the time? is it wise to do so?

推荐答案

我最近在InstallShield 2014上遇到了这个问题,即使将EULA添加到自动升级路径中,也很难使EULA弹出SetupInitialization对话框的下一步"按钮.

I ran into this problem rather recently with InstallShield 2014, and was having a hard time getting the EULA to pop up on the automagic upgrade path even when adding it to the Next button of the SetupInitialization dialog.

尽管如此,我确实找到了实现这一目标的方法:

I did find a way to make it happen though:

进入行为和逻辑"组,选择自定义动作和序列".展开序列>安装>用户界面.

Go into the Behavior and Logic group, select Custom Actions and Sequences. Expand Sequences > Installation > User Interface.

您可以右键单击并将对象插入此处.在插入动作"对话框中,从第一个下拉列表中选择对话框".然后选择"EULA显示"对话框(在我的情况下为许可协议").将其插入到安装序列的UI部分.

You can right-click and Insert objects into here. From the Insert Action dialog, select Dialogs in the first dropdown. Then select the EULA-displaying dialog (LicenseAgreement in my case). That will insert it into the UI portion of the Installation Sequence.

从那里,您可以将其拖动到所需的位置.我将其放在SetupInitialization之后,但是您也可以将其拖放到PatchWelcome/InstallWelcome/SetupResume/MaintenanceWelcome UI组件之后.

From there, you can drag it to where you need it. I dropped it in right after SetupInitialization, but you can also drag it down to just after the PatchWelcome / InstallWelcome / SetupResume / MaintenanceWelcome UI components.

如果执行此操作,则需要转到InstallWelcome对话框(常规安装),并确保在此处跳过EULA,以避免两次出现.将目标设置为ReadyToInstall(在我的情况下是LicenseAgreement的下一步)使我能够做到这一点.

If you do this, you'll want to go to your InstallWelcome dialog (normal installation) and make sure that you skip the EULA there in order to avoid showing it twice. Setting the target to ReadyToInstall (the next step of the LicenseAgreement in my case) allowed me to do that.

也就是说,这样做意味着每次安装程序运行时都会出现EULA.确保这是您真正想要做的.

That said, doing this means that the EULA will come up every time the installer runs. Ensure that this is what you really want to do.

这篇关于如何在使用installshield的升级过程中显示EULA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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