我在我的安装 XML 文件中指定了标准的快捷方式生成本机:
<natives>
<native type="izpack" name="ShellLink.dll"/>
<native type="izpack" name="ShellLink_x64.dll"/>
<native type="izpack" name="WinSetupAPI.dll"/>
<native type="izpack" name="WinSetupAPI_x64.dll"/>
</natives>
但是,当我运行 izpack:izpack 并运行生成的 jar 时,它会挂在快捷方式面板上,说它找不到库。当我将 .dll 复制到同一目录中时,它可以工作。
知道如何指定将文件包含到最终 jar 中吗?