I am using this page for authoring a silent installation using InstallShield 2012
我正在使用此页面使用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.
我怎么知道静默安装已完成。有没有办法在进行静默安装时从InstallShield发出信号?一种方法是在安装完成时写一个空文件说'完成'。但是,我确信通过InstallShield本身有更好的方法。
2 个解决方案
#1
0
How are you calling to the installer ?
你是怎么打电话给安装人员的?
If you call it from another program you can check the result code, must be 0.
如果从其他程序调用它可以检查结果代码,则必须为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.
如果从控制台调用它,可以检查int Setup.log文件[ResponseResult],或者您可以编写一个简单的批处理文件将结果代码写入另一个文件。
#2
0
If you are using Windows Console (CMD Prompt), then pass the install with appropriate arguments.
如果您使用的是Windows控制台(CMD提示符),请使用适当的参数传递安装。
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.
例如: - 如果我需要静默安装setup.msi然后需要知道安装是否完成,请在CMD中传递以下参数。
MSIEXEC /i setup.msi /qn+
#1
0
How are you calling to the installer ?
你是怎么打电话给安装人员的?
If you call it from another program you can check the result code, must be 0.
如果从其他程序调用它可以检查结果代码,则必须为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.
如果从控制台调用它,可以检查int Setup.log文件[ResponseResult],或者您可以编写一个简单的批处理文件将结果代码写入另一个文件。
#2
0
If you are using Windows Console (CMD Prompt), then pass the install with appropriate arguments.
如果您使用的是Windows控制台(CMD提示符),请使用适当的参数传递安装。
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.
例如: - 如果我需要静默安装setup.msi然后需要知道安装是否完成,请在CMD中传递以下参数。
MSIEXEC /i setup.msi /qn+