[izpack-users] Starting a Microsoft installer from IzPack

Wilson Carl Carl.Wilson at uk.thalesgroup.com
Wed Feb 7 14:45:02 CET 2007

I had a similar problem with windows scripts - had a problem with IzPack
parsing $INSTALL_PATH and then found I needed some additional variables like
the JDK home instead of the JRE home, and differences under Windows and

I solved it by inventing some other variables to go into the script and then
writing a Java 'parser' program which allowed me to define the variable and
its substitution, e.g. java -jar parser.jar -D $MY_VARIABLE=my_substitute.
I now download the script and run my own parser program to substitute the
variables, then execute the script.  Java was all I had available, but you
could write the parser in any language.  If you don't have Java or anything
else, then try autoit (google for it).

Probably more elegant ways of doing it by integrating the jar into IzPack,
but this worked for me so I could get on with draining the swamp instead of
worrying about the crocodiles gathering around.

Carl Wilson

Software Architecture & Technologies
Tel. : +44 (0)161 741 3840
Mob. : 
carl.wilson at uk.thalesgroup.com
Ashurst Drive, Cheadle Heath
Stockport, SK3 0XB, UK


This email, including any attachment, is a confidential communication
intended solely for the use of the individual or entity to whom it is
addressed. It contains information which is private and may be proprietary
or covered by legal professional privilege.

If you have received this email in error, please notify either the sender or
telephone ++ 44 (0) 1963 370551  upon receipt, and immediately delete it
from your system. Anything contained in this email that is not connected
with the businesses of Thales Naval is neither endorsed by nor is the
liability of this company.

Whilst we have taken reasonable precautions to ensure that any attachment to
this email has been swept for viruses, we cannot accept liability for any
damage sustained as a result of software viruses, and would advise that you
carry out your own virus checks before opening any attachment.

More information about the izpack-users mailing list