InstallShield Basic MSI项目通过Command Line IsCmdBld.exe生成新的GUID [英] InstallShield Basic MSI project generate New GUID by CommandLine IsCmdBld.exe

查看:129
本文介绍了InstallShield Basic MSI项目通过Command Line IsCmdBld.exe生成新的GUID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Installshield项目.ism,我希望能够通过命令行运行它.这是通过CommadnLine使用IsCmdBld.exe生成新产品代码的一种可能方法.

I have an Installshield project .ism and I want to be able to run it by command line. It's there a possible way to generate a new Product Code by CommadnLine using IsCmdBld.exe

注意:不能使用其他构建软件

Note: Can't use another build software

预先感谢

推荐答案

正如@Steve所述,您不能通过命令行生成新的产品代码,但是可以通过命令行设置新的产品代码.您需要的是使用第三方应用程序生成随机GUID(或使用自动化),您可以在命令行中如下设置此新GUID ...

As @Steve mention you cannot generate new Product Code via command line, but what you can is set new product code with command line. What you need is generate random GUID with a 3rd party application (or use automation) and you may set this new GUID in command line as follow ...

IsCmdBld.exe -z "ProductCode={D1B1C3E2-AA6F-455C-8533-C642EED0512D}"

我还要提到另一件事...希望您理解,通过替换软件包的产品代码,它将每次执行重大"升级.这是你想做的吗?通常,开发人员试图避免产品的重大"升级,而随着产品的发展而进行次要升级.

Yet another thing I would like to mention ... I hope you understand that by replacing product code of your package, it will perform "major" upgrade every time. Is this what you want to do? Usually developers are trying to avoid "major" upgrades of products and do minor upgrades as the products evolve.

这篇关于InstallShield Basic MSI项目通过Command Line IsCmdBld.exe生成新的GUID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆