简体   繁体   English

使用install4j检查MAC机上是否安装了特定的应用程序

[英]Check particular application is installed on MAC machine using install4j

I want to check whether particular application is installed on MAC machine using install4j. 我想检查是否使用install4j在MAC计算机上安装了特定的应用程序。 Also if application is installed on MAC machine I need path of installation directory. 另外,如果应用程序安装在MAC机器上,则我需要安装目录的路径。 Is there any API's or predefined actions available for the same. 是否有可用的API或预定义操作。

Check the com.install4j.api.ApplicationRegistry class. 检查com.install4j.api.ApplicationRegistry类。 In the code editor for any script property, open the code gallery and look at the examples for startup actions, there are several examples that use this class and check if an application is installed. 在任何脚本属性的代码编辑器中,打开代码库,然后查看启动操作的示例,有几个使用此类的示例,并检查是否安装了应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM