InstallShield 显示产品名称 +添加/删除程序中的版本
如何在“添加/删除程序”中显示产品名称+版本,例如“我的产品1.1.1.0”, 其中“我的产品”是InstallShield 中的产品名称,“1.1.1.0”产品版本是? 谢谢。
How to show product name + version like "My product 1.1.1.0" in Add/Remove Programs,
Where "My Product" is name of product in InstallShield and "1.1.1.0" Product Version?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
根据设计,如果您单击“单击此处获取支持信息”链接,它将向您显示产品版本、发布者等。我一直觉得很有趣的是,Windows 以一种方式创建它,但整个世界都想采用另一种方式,包括 Microsoft 的其他团队。就我个人而言,我采用最佳实践,从不将版本信息放入我的产品名称中,但如果您想这样做,那就是您想要做的。
产品名称:我的产品 1.1.1
产品版本:1.1.1.0
如果您允许并行安装您的产品,这将特别有用。 IE 在每个版本中更改 ProductCode 和 UpgradeCode 并转换 INSTALLDIR:
C:\ProgramFiles\Company\Product\1.0
C:\ProgramFiles\Company\Product\2.0
By design, if you click the link "Click here for support information" it will show you the ProductVersion, Publisher and so on. I've always found it funny that Windows creates it one way and yet the whole world wants to take it another way including other groups at Microsoft. Personally I go with best practices and never put version information into my product name but if you want to do it, that's what you'll want to do.
ProductName: My Product 1.1.1
ProductVersion: 1.1.1.0
This is especially useful if you allow side by side installations of your product. I.E. change ProductCode and UpgradeCode and transform INSTALLDIR with each release:
C:\ProgramFiles\Company\Product\1.0
C:\ProgramFiles\Company\Product\2.0
以下链接包含有关添加/删除程序的大量信息:
http://blogs.msdn.com/b/oldnewthing/archive/2004/07/09/178342.aspx
Installshield知识库文档Q211246也有详细信息。
Following link contains a fair bit of info regarding add/remove programs:
http://blogs.msdn.com/b/oldnewthing/archive/2004/07/09/178342.aspx
And also Installshield Knowledge Base document Q211246 has details.
很久以前,我使用旧版本的安装盾。事实证明 - 我无法修改产品版本。尝试从 installShield UI 进行编辑,尝试从 ISCmdBld.exe -p "project.ism" -y "13.23.12.1" 进行编辑 - 但在我的版本中 ISCmdBld.exe 不支持 -y 参数。
没有任何效果,我需要尽快完成。
因此,这是我的核心残酷和愚蠢版本,如何在没有其他帮助的情况下更改产品版本:
使用记事本打开您的 .ism 项目,找到版本文本并在那里进行更改。然后使用 installshield 构建项目并放心地快乐。
据我所知,产品版本接近 PATH_TO_LIB_FILES 参数。
我想澄清的是:我的方法实际上是最糟糕的。除非是紧急情况,否则你不应该做这样的事情。
Long ago I worked with old version of instal shield. As it turned out - I wasn't able to modify the product version. Tried editing from installShield UI, tried editing from the ISCmdBld.exe -p "project.ism" -y "13.23.12.1" - but in my version ISCmdBld.exe didn't support -y parameter.
Nothing worked and I needed to do it fast.
So here is my hard core brutal and stupid version how to change the product version, when nothing else helps:
open your .ism project with notepad, find the version text and changed it there. Then build the project with install shield and feel free to be happy.
Product version was near by PATH_TO_LIB_FILES parameter as far as I remember.
I would like to make it clear: My approach is practically the worst one. You shouldn't do anything like that unless it's an emergency.