如何在安装程序之外更新 install4j 中的响应文件

How to update the response file in install4j outside of the installer

我有一些变量是用户在我的 install4j 安装程序中以表格形式设置的。用户还可以在我的应用程序的屏幕内更新这些变量。有没有一种方法可以访问响应文件并更新这些值,以便在运行更新时自动引入新值?

我尝试使用 com.install4j.api.launcher.Variables 访问响应文件位置,但似乎找不到它。

Is there a way to access the response file and update those values so that when an update runs the new values are automatically pulled in?

是的,这是可能的。默认响应文件相对于安装目录的路径是

.install4j/response.varfile