[izpack-users] Another shortcut localisation problem

Gernot Stenz stenzg at in.tum.de
Wed Jun 6 12:55:25 CEST 2007


Hello, again!

As part of my attempts to create a multi-language installer, I am trying to
arrange desktop shortcuts depending on the selected installer language. This
means: 

- In the application menu, for each tool two entries are added, such as Editor
  (English) and Editor (German). These are linked to shell scripts called
  startup-en.sh and startup-de.sh.
- On the desktop, a single Editor icon is created pointing to
  startup.sh. startup.sh itself is supposed to be created by copying either
  startup-en.sh or startup-de.sh depending on the value of ISO3_LANG.

However, the latter does not seem to work. I have created a conditions file:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>

<conditions>
  <condition type="variable" id="englishToolsDefault">
    <name>ISO3_LANG</name>
    <value>eng</value>
  </condition>

  <condition type="not" id="notEnglishToolsDefault">
    <condition type="ref" refid="englishToolsDefault" />
  </condition>
</conditions>

and in the <packs> section of the installer xml, I have specified to
following: 

<singlefile os="unix" src="../../installer/V-Modell-XT/Release-1.2.1/Projektassistent-1.2.4rc3/startup-de.sh" target="$INSTALL_PATH/Projektassistent-1.2.4rc3/startup.sh" conditionid="notEnglishToolsDefault" />

But it does not work. Anybody know how I can get around this problem? I am
currently using IzPack 3.10.0.

Thanks in advance, Gernot

-- 
    __o  Gernot Stenz  e-mail:stenzg at informatik.tu-muenchen.de        /\
   -\<,          WWW:  http://www4.in.tum.de/~stenzg               /\/--\
_(_)/(_)_London - Paris: 3547 km__________________________________/      \




More information about the izpack-users mailing list