免脚本实现判断注册表项并安装第三方软件,Installshield2009适用

上一篇:Installshield执行多条批处理的方法

根据群友记录整理
第一步:选择工具--运行环境编辑器
第二步:在files to include选项中选择“add”添加先解决添加要安装的软件
第三步:在conditions中添加先决条件安装软件的注册表的key,选择 if the specified registry key is DOES NOT EXIST(如果注册表中没有这个key就安装)
第四步:选择application to run栏,下拉框选择添加的软件specify the command line for the application和application to run栏,下拉框选择添加的软件specify the command line for the application when the setup is running in silent mode中输入/q:a /c:"install /l /q",最后一个文本框输入3010, 8192
第5步:在可再发中选择这个设置就可以实现查询是否有先决条件并实现默认安装
原文地址:https://www.cnblogs.com/Cindy_weiwei/p/1534478.html