I am using InstallShield 2010.
我正在使用InstallShield 2010。
Due to recent application update we have to ship and install Visual Studio 2012 Redistributable package to the clients.
由于最近的应用程序更新,我们必须将Visual Studio 2012 Redistributable软件包发送并安装到客户端。
I've done many setups with prerequisites, some of then had redistributables, some not, but its the first time i needed to include VS2012 Redist.
我已经完成了许多具有先决条件的设置,其中一些具有可再分发,有些则没有,但它是我第一次需要包含VS2012 Redist。
After i created a prerequisite file and pointed to the redist file, added the command line options /q /norestart, i then tested this on windows XP (virtual machine), at first it seems fine, install shield showed that i needed the package installed, so ok, clicking next shows how it extracts the file and then start installing. Right after installation of the redistributable finishes, whole install shield closes out and nothing continues. So basicaly, redist got installed, but not my application.
在我创建了一个必备文件并指向redist文件后,添加了命令行选项/ q / norestart,我在Windows XP(虚拟机)上测试了这个,起初看起来很好,安装盾牌显示我需要安装包,好吧,单击下一步显示它如何提取文件然后开始安装。在安装可再发行完成后,整个安装屏蔽关闭,没有任何继续。所以基本上,redist已安装,但不是我的应用程序。
What could be the cause of this? Why is redistributable closing installation? How could i fix this without forcing a user to install redist package manualy?
可能是什么原因造成的?为什么可再发行关闭安装?如何在不强迫用户手动安装redist包的情况下解决这个问题?
1 个解决方案
#1
0
Chances are the reboot settings of the prerequisite aren't quite right. It sounds like it's detecting a required reboot which the .prq claims the redistributable will have already asked about, so InstallShield is just exiting to let the reboot occur. You should be able to confirm this by logging setup.exe with /debuglog
. And if so, the fix will be to edit the reboot settings on the behavior tab.
有可能是先决条件的重启设置不太对。听起来它正在检测.prq声称可再发行组件已经询问的所需重启,因此InstallShield只是退出以便重新启动。您应该能够通过使用/ debuglog记录setup.exe来确认这一点。如果是这样,修复将是在行为选项卡上编辑重新启动设置。
#1
0
Chances are the reboot settings of the prerequisite aren't quite right. It sounds like it's detecting a required reboot which the .prq claims the redistributable will have already asked about, so InstallShield is just exiting to let the reboot occur. You should be able to confirm this by logging setup.exe with /debuglog
. And if so, the fix will be to edit the reboot settings on the behavior tab.
有可能是先决条件的重启设置不太对。听起来它正在检测.prq声称可再发行组件已经询问的所需重启,因此InstallShield只是退出以便重新启动。您应该能够通过使用/ debuglog记录setup.exe来确认这一点。如果是这样,修复将是在行为选项卡上编辑重新启动设置。