InstallShield 静默安装 - 如何检查安装是否完成?

发布于 2024-12-15 04:31:34 字数 266 浏览 3 评论 0原文

我正在使用 此页面 使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

三寸金莲 2024-12-22 04:31:34

您如何致电安装人员?

如果您从另一个程序调用它,您可以检查结果代码,必须为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.

信愁 2024-12-22 04:31:34

如果您使用的是 Windows 控制台(CMD 提示符),请使用适当的参数传递安装。

例如:- 如果我需要静默安装 setup.msi,然后需要知道安装是否完成,请在 CMD 中传递以下参数。

MSIEXEC /i setup.msi /qn+

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.

MSIEXEC /i setup.msi /qn+
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文