我使用izpack为我的应用程序创建安装程序。到目前为止,我能够创建安装程序,并在我的Linux机器上一切都很好。 问题是,在我测试过的Windows机器上(Win7和WinXP),安装程序没有显示快捷面板。 我没有阅读文档疑难解答部分,并注意我在我的安装程序中有本地文件。 同样适用于快捷方式xml文件,它们位于资源路径中的安装程序中。 我也读过,很可能它是一个区分大小写的错字或类似的简单但无法弄清楚。 这里是我的快捷方式XML:izpack:在窗口上创建快捷方式
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
This is the shortcut specification for windows. Its considered default so on
Systems that are not shortcut compatible the information is taken from here.
-->
<shortcuts>
<programGroup defaultName="SteamNet" location="applications"/>
<shortcut
name = "One Click Wonder"
target = "$INSTALL_PATH\oneclickwonder.bat"
commandLine = ""
workingDirectory= "$INSTALL_PATH"
description="Minimal Desktop Timer"
iconFile="$INSTALL_PATH\images\windows_icon.ico"
iconIndex="0"
initialState="noShow"
programGroup="yes"
desktop="yes"
applications="yes"
startMenu="yes"
startup="yes"/>
</shortcuts>
请检查这个答案,它有可能的原因和解决方案的列表:http://stackoverflow.com/questions/33419830/izpack-create-shortcut-on-windows-7/35627201#35627201 – Pickle