izpack mavenプラグインorg.codehaus.izpackバージョン1.0-alpha-5を使用してプロジェクトを作成しました。ショートカットを作成するizpack mavenプラグイン
問題は、アプリケーション(ウィンドウ)のショートカットを作成できないため、ショートカットパネルが空白で表示され、エラーがないことです。
すべてのファイルが存在し、私は、Webからの標準的な例に基づいてしようとした.. sucesssなし..
INSTALL.XMLファイル:shortcutSpec.xmlファイル内
<resources>
<res id="shortcutSpec.xml" src="./shortcutSpec.xml" />
</resources>
<native type="izpack" name="ShellLink.dll"/>
<variables>
<variable name="DesktopShortcutCheckboxEnabled" value="true" />
</variables>
<panels>
<panel classname="HelloPanel"/>
<panel classname="InfoPanel"/>
<panel classname="LicencePanel"/>
<panel classname="TargetPanel"/>
<panel classname="PacksPanel"/>
<panel classname="InstallPanel"/>
<panel classname="ShortcutPanel"/>
</panels>
:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<shortcuts>
<!--skipIfNotSupported/-->
<programGroup defaultName="company\product" location="startMenu"/>
<shortcut name="product" target="C:\Program Files\product\product.exe" description="Creating Gui Icon on the Desktop"
workingDirectory="$INSTALL_PATH" iconFile="C:\Program Files\product\icon.ico" initialState="normal" programGroup="yes" desktop="yes" applications="yes"
startMenu="yes" startup="no">
<createForPack name="product.exe"/>
</shortcut>
<shortcut
name="Documentation" target="C:\Program Files\product\doc\asdfsadfasf.docx"
workingDirectory="$INSTALL_PATH" iconFile="C:\Program Files\product\icon.ico"
description="Launch documentation" initialState="normal" programGroup="yes" desktop="yes"
applications="yes" startMenu="yes" startup="no">
<createForPack name="product.exe"/>
</shortcut>
</shortcuts>
は
http://stackoverflow.com/questions/33419830/izpack-create-shortcut-on-windows-7/35627201#35627201の回答をご覧ください。この動作の原因を見つけるのに役立ちます – Pickle