我想知道如何让 inno setup 安装程序检测 MS RV 2008 是否已安装,如果是因为没有任何反应,如果没有安装并打开它。安装程序中的 exe(我已经有了 ShellExec
的代码)。
最佳答案
使用 inno setup 来检测注册表设置是否存在。
即...
"read from registry" constant which allows you to embed a registry value whereever normal constants are used. It is in the format: "{reg:HKxx\SubkeyName,ValueName|DefaultValue}".
您可以进行条件安装,请参阅: Can Inno Setup do a conditional installation - for example, proceed only if a certain registry key or file exists?
关于reportviewer - Inno Setup - 检查程序是否已安装? (该程序是Microsoft Report Viewer Redistributable 2008),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5052989/