我使用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