[英]How to create pop up window while upgrading new version of the application using installshield
I am using InstallShield as my Windows installer. 我使用InstallShield作为Windows安装程序。 I am doing minor upgrade to every new release of my application, upgrade works correctly.
我正在对应用程序的每个新发行版进行次要升级,升级正常。 But I want to show like one pop up window about informing the upgrade.
但是我想像一个弹出窗口一样显示有关升级的信息。 How can I create window like that before upgrade starts?
如何在升级开始之前创建类似的窗口?
Is there any way to show by using InstallShield or patch or code? 有什么方法可以使用InstallShield或补丁或代码来显示?
You could create a VBScript custom action that displays a message box . 您可以创建一个显示消息框的VBScript自定义操作。 If running a silent install is important to your install requirements you would of course want to prepare for this if you put it in your installExecuteSequence.
如果运行静默安装对您的安装要求很重要,那么如果将其放入installExecuteSequence中,则当然要为此做好准备。 In the condition attribute just put in logic that evaluates to true when upgrading.
在condition属性中,只需放入逻辑,该逻辑在升级时评估为true。
Since you're using InstallShield you could also do something similar with InstallScript, but that does create a dependency on their InstallScript engine if you're not already using InstallScript actions. 由于您正在使用InstallShield,因此您也可以使用InstallScript进行类似的操作,但是如果您尚未使用InstallScript操作,则确实会对其InstallScript引擎产生依赖性。
For simple things like an upgrading popup I like to use VBScript since they're quick to code for. 对于简单的事情,例如升级弹出窗口,我喜欢使用VBScript,因为它们可以快速进行编码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.