InstallShield - 如何在安装对话框中显示产品代码

时间:2023-01-16 22:38:53

This is probably really obvious, but for the life of me I can't figure out how to do this.

这可能是非常明显的,但对于我的生活,我无法弄清楚如何做到这一点。

I have a Basic MSI install package created in InstallShield 2011. I haven't been able to figure out how to get the 'Product Version' field that is set on the 'General Information' page of the 'Installation Designer' to show up on the dialog form during setup.

我有一个在InstallShield 2011中创建的基本MSI安装包。我无法弄清楚如何获得在“安装设计器”的“常规信息”页面上设置的“产品版本”字段以显示安装过程中的对话框表单。

I can see that the 'Product Name' property is displayed, but not the 'Product Version'

我可以看到显示“产品名称”属性,但不显示“产品版本”

How do I display the 'Product Version' to the user during install?

如何在安装期间向用户显示“产品版本”?

Thanks!

谢谢!

1 个解决方案

#1


5  

Try this:

尝试这个:

  • go to Dialogs page and select the dialog you want
  • 转到Dialogs页面并选择所需的对话框
  • click "Edit dialog layout" link to modify the dialog
  • 单击“编辑对话框布局”链接以修改对话框
  • select the control which will use the Product Version
  • 选择将使用产品版本的控件
  • in its Properties pane write the following in Text field:

    在其“属性”窗格中,在“文本”字段中写入以

    [ProductVersion]

    [的ProductVersion]

This is the formatted type. Please note that not all controls support formatted values in their text.

这是格式化的类型。请注意,并非所有控件都支持其文本中的格式化值。

#1


5  

Try this:

尝试这个:

  • go to Dialogs page and select the dialog you want
  • 转到Dialogs页面并选择所需的对话框
  • click "Edit dialog layout" link to modify the dialog
  • 单击“编辑对话框布局”链接以修改对话框
  • select the control which will use the Product Version
  • 选择将使用产品版本的控件
  • in its Properties pane write the following in Text field:

    在其“属性”窗格中,在“文本”字段中写入以

    [ProductVersion]

    [的ProductVersion]

This is the formatted type. Please note that not all controls support formatted values in their text.

这是格式化的类型。请注意,并非所有控件都支持其文本中的格式化值。