简体   繁体   English

使用installshield升级应用程序的新版本时如何创建弹出窗口

[英]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.

相关问题 升级使用installshield创建的安装时,UAC弹出红色 - UAC pop up red when upgrading installation created with installshield 如何在 InstallShield 的安装要求页面添加新的框架版本? - How to add new framework version in Installment Requirement page of InstallShield? InstallShield创建的应用程序将在全新安装期间进行主要升级,而计算机上没有先前版本 - InstallShield created application goes on major upgrade during fresh install while previous version is absent from the machine Installshield-强制在应用程序路径上创建文件 - Installshield - Force file to create on application path 使用InstallShield限量版在VS2010中为Windows窗体应用程序创建安装设置 - Create a Installation setup for a windows form application in VS2010 using InstallShield limited edition 无法使用installshield创建32位MSI - Unable to create a 32 bit msi using installshield 使用installshield和msi时,版本号有哪些限制 - What are the constraints with regards to version numbers when using installshield and msi Installshield多语言支持的应用程序 - Installshield multilangague supported application 查找更新版本的应用程序 - Application that looks up for a newer version 如何使用InstallShield LE 2015更改程序包代码 - How to change Package Code using InstallShield LE 2015
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM