Install4j:在 'Uninstall previous installation' 期间始终获得 'could not delete {installedDir}\.install4j'

Install4j: Always get 'could not delete {installedDir}\.install4j' during 'Uninstall previous installation'

我正在使用 install4j 6.1.3 创建安装程序。

Uninstall previous installation 个动作作为 gInstallation 动作集中的第一个动作。

但是升级的时候总是报错

could not delete {installedDir}\.install4j

在 Windows 平台上的 Uninstall previous installation 行动期间。

我试过将 Uninstallation policy 设置为 If created, but not for update,但还是不行。

有人知道这里有什么问题吗?
升级时如何避免install4j删除.install4j目录?

这意味着某些使用 install4j 运行时 JAR 文件的进程仍然是 运行,可能是一个启动器。

您无法避免在卸载过程中删除运行时文件,您必须确保没有启动器 运行。 "Check for running processes" 操作将帮助您做到这一点。