Advanced Installer-在全局程序集缓存(gac)中搜索文件

问题描述 投票:0回答:2

我具有高级安装程序设置,在安装过程中,我需要确定Crystal Reports是否已安装在系统上。似乎最好的方法是在全局程序集缓存中查找CrystalDecisions.CrystalReports.Engine.dll的存在。此处更多信息:https://answers.sap.com/questions/9165705/determine-if-cr-runtime-is-installed.html

我尝试了Advanced Installer的搜索功能,但它需要文件的完整路径。我想做的是在GAC目录(C:\ windows \ assembly)和子目录中搜索程序集。

有什么想法吗?

file search find advanced-installer global-assembly-cache
2个回答
0
投票

最简单的方法是搜索注册表。


0
投票

使用Advanced Installer,这应该很容易。添加新文件搜索,右键单击搜索项,然后使用[添加搜索位置]-[文件夹]选项。看看这个配置:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.