[izpack-users] How does variable substitution work?

Gernot Stenz stenzg at in.tum.de
Wed Jun 13 18:43:59 CEST 2007


Hello,

I have yet another problem with my IzPack (3.10.0) installer:

I need to set the path for an executable file. I do this using a variable and a <parsable>
tag:

<variable name="OOEXECUTABLE" value="$APPLICATIONS_DEFAULT_ROOT/OpenOfficeorgPortable/App/openoffice/program/soffice.exe"/>

<parsable type="xml" targetfile="$INSTALL_PATH/Editor-3.3rc5/res/vmodellexport.xml"/>

and in said file I have the following:

<value>$OOEXECUTABLE</value>

However, after installation, the respective line in the file looks like this:

<value>$APPLICATIONS_DEFAULT_ROOT/OpenOfficeorgPortable/App/openoffice/program/soffice.exe</value>

Why doesn't $APPLICATIONS_DEFAULT_ROOT get substituted?

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