Hi,
I posted my enquiry here because some of you might have encountered this already.
I have just finished creating our installer using IzPack. It was installed in"$INSTALL_PATH\" folder. Now, I'd like to create 3 shortcuts, "Server App","Client App", and "Uninstaller", in "All Programs" under "App Name".
My shortcutSpec.xml looks like the following:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<shortcuts>
<skipIfNotSupported/>
<programGroup defaultName="App Name" location="applications"/>
<shortcut
name="Client App"
target="$INSTALL_PATH\client.url"
description="Launch client application"
iconFile="$INSTALL_PATH\application_server\client.ico"
programGroup="yes"
desktop="yes"
applications="no"
startMenu="no"
startup="no">
</shortcut>
<shortcut
name="Server App"
target="$INSTALL_PATH\server.url"
description="Open server admin page"
iconFile="$INSTALL_PATH\application_server\server.ico"
programGroup="yes"
desktop="no"
applications="no"
startMenu="no"
startup="no">
</shortcut>
<shortcut
name="Uninstall"
description="Uninstaller"
programGroup="yes"
desktop="no"
applications="no"
startMenu="no"
startup="no"
target="javaw.exe"
workingDirectory="$INSTALL_PATH"
commandLine="-jar Uninstaller\uninstaller.jar"
iconFile="$INSTALL_PATH\application_server\uninstall.ico">
</shortcut>
</shortcuts>
When I install it in Windows 7, I can see the shortcuts in "All Programs"->"App Name"->"Client App", "Server App",and "Uninstaller". The "Client App" shortcut runs well, but the "Server App" and "Uninstaller" runs the "Client App"'s "target".
Does anybody have the same problem as mine? It seems that the succeeding "target" property are disregarded and the "target" property of the first link is replicated to all shortcuts.