如何使用 install4j 将外部启动器安装为服务

How to install external launcher as a service with install4j

在 install4j 中,有一个选项可以将生成的启动器安装为服务,但我需要安装外部可执行文件才能安装为服务。 Install4j 似乎提供了包含外部可执行文件的选项,但似乎没有将它们安装为服务的选项。我该怎么做?

启动器部分中的外部启动器不能用于该目的。

在"Service"属性或"Install a service"动作中,select“[Other server executable]”然后设置嵌套的"Executable"和"Name"属性。