[izpack-devel] I have a problem in executing a *.bat file
bartzkau at gmx.net
Sat Dec 23 11:16:52 CET 2006
that's DOS live, not IzPack...
On Windows (since NT4 ??) you can also use
cd /D c:\$INSTAL_PATH
Am 20.12.2006, 10:10 Uhr, schrieb Valentin Vlasceanu <vali254 at yahoo.com>:
> And thanks for answering, but in the meanwhile I
> resolved the problem.
> I hat to put inside the bat file the following two
> cd c:\$INSTAL_PATH
> After that the path is set correctly to the new
> installed program and the bat file is lanched without
> Thanks again,
> --- Klaus Bartz <bartzkau at gmx.net> wrote:
>> Hi Vali (?)
>> normaly the simplest way is to use <executable> with
>> $INSTALL_PATH. You have done it. May be something is
>> wrong in
>> the dclaration, serfore please send your installatn
>> description file
>> (often called install.xml)
>> Am 18.12.2006, 17:32 Uhr, schrieb vali254
>> <vali254 at yahoo.com>:
>> > Hi!
>> > I am new at IzPack (3.9.0 version ) and I would
>> appriciate if you could
>> > help
>> > me in the following problem.
>> > I want to execute a *.bat file postinstall. The
>> *.bat file contains
>> > different variables, wich after the parsing they
>> are all correctly
>> > replaced.
>> > But when the installer tries to execute the *.bat
>> file I receive an error
>> > (process execution failed).
>> > The problem I observed is that when I try to
>> execute the file from where
>> > it
>> > was installed, there is no error, it runs
>> corectly. But the installer is
>> > trying to execute the file from the path where is
>> the installer.
>> > For example, the instaler is placed in
>> D:\INSTALLER and the installed
>> > program is placed in C:\TEST.
>> > Well the *.bat is executed like:
>> > D:\INSTALLER> java â€“classpath
>> C:\TEST\something.jar; name_of_java_file
>> > var1
>> > var2 â€¦. varn
>> > I have tried to execute the file using the
>> <executable> command from
>> > install.xml ( <executable
>> > failure="warn" stage="postinstall"/>) and the
>> <executefile> command form
>> > ProcessPanel.Spec.xml (<executefile
>> > name="$INSTALL_PATH\name_of_bat_file.bat"/>), but
>> neither of the chioces
>> > worked. In both cases I receive the same error.
>> > So this is my problem and it seems I am doing
>> something wrong, but I
>> > can't
>> > see where. If you think you would need more
>> details donâ€™t hesitate to
>> > tell
>> > me and thank you for your time and help.
>> Erstellt mit Operas revolutionÃ¤rem E-Mail-Modul:
>> izpack-devel mailing list
>> izpack-devel at lists.berlios.de
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> __________ NOD32 1.1392 (20060202) Information __________
> Diese E-Mail wurde vom NOD32 Antivirus System geprüft
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
More information about the izpack-devel