问题描述
我正在使用Installshield 2019生成基本的MSI文件.我想自定义Windows资源管理器文件属性中显示的文件属性(在详细信息选项卡=>标题,主题,注释中)可悲的是(奇怪的是)产品版本没有出现在我生成的MSI文件的道具中,我希望产品版本至少具有一个文件属性.
I'm using Installshield 2019 to generate a basic MSI file.I want to customize the file properties that are displayed in the windows explorer file properties (in the details tab => title, subject, comments)Sadly (and strangely), the Product Version does not appear in my generated MSI file's props, and I would like to have at least one file property with the product version.
约束:它是自动的=> 我正在使用带有IsBuildCmd.exe的命令行来传递产品版本.
Constraint: It is automated => I'm using the command line with IsBuildCmd.exe to pass the product version.
在我的项目的General Information面板中,我可以定义一些值,它们将映射到"Strings"(而不是属性).在发布信息中相同,我可以覆盖文件属性值,但是它们被映射为字符串".
In the General Information panel of my project I can define a few values they are mapped to "Strings" (and not properties).In the release information it is the same, I can override the file properties values, but they are mapped to "strings".
1/我无法将这些值映射到属性
1/ I don't manage to map those values to properties
2/我在命令行中找不到任何可覆盖字符串"的内容
2/ I did not find anything to override "Strings" from the command line
感谢您的帮助
推荐答案
可能有些困难,但我认为您可以使用 IsWiProject COM接口.这样,您可以动态设置项目的ProductVersion属性.
It may be a little tough but I think you can control this using the IsWiProject COM interface. With this you can dynamically set the ProductVersion property for the project.
这篇关于如何使用Installshield在MSI文件属性中动态自定义产品版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!