InstallShield 静默安装 - 如何检查安装是否完成?
我正在使用 此页面 使用 InstallShield 2012 创作静默安装
如何操作我知道静默安装已完成。有没有办法在进行静默安装时从 InstallShield 发出信号?一种方法是在安装完成后写入一个空文件,显示“完成”。但是,我确信通过 InstallShield 本身有更好的方法。
I am using this page for authoring a silent installation using InstallShield 2012
How do I know that silent install is complete. is there a way to signal from InstallShield while doing a silent installation ? One way is to write an empty file saying 'Done' when installation is complete. But, I am sure there is a better way via the InstallShield itself.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您如何致电安装人员?
如果您从另一个程序调用它,您可以检查结果代码,必须为0。
如果您从控制台调用它,您可以检查int setup.log文件[ResponseResult],或者您可以编写一个简单的批处理文件来将结果代码写入另一个文件。
How are you calling to the installer ?
If you call it from another program you can check the result code, must be 0.
If you call it from console you can check int Setup.log file [ResponseResult], or you can write a simple batch file to write the result code to another file.
如果您使用的是 Windows 控制台(CMD 提示符),请使用适当的参数传递安装。
例如:- 如果我需要静默安装 setup.msi,然后需要知道安装是否完成,请在 CMD 中传递以下参数。
If you are using Windows Console (CMD Prompt), then pass the install with appropriate arguments.
Ex:- If i need to install setup.msi silently and then need to know whether installation is complete or not, pass the following arguments in the CMD.