[izpack-users] <executable ...> doesn't work (was:shortcutSpec.xml UTF-8 Byte Order Mark breaks IzPack operation)

Bartz, Klaus Klaus.Bartz at coi.de
Thu Oct 19 14:39:12 CEST 2006


Hi Hans-Georg,
of curse stage...

First enable traceing at installation with

java -DTRACE=TRUE -jar install.jar

now you should get more or less trace lines. At performing installation
(the InstallPanel) following lines should be shown:

--------------------------------------------------------------------------------------------------
checking if os constraints [Os  family windows name null version null arch null ] match current OS
matched current OS.
handeling executable file path = C:\Programme\IzPack\CloseTest\lib\install_helper.bat
mainClass = null
type = 0
executionStage = 0
onFailure = 2
argList: []

osList = [[Os  family windows name null version null arch null ]]
	os: [Os  family windows name null version null arch null ]
keepFile = false

checking if os constraints [Os  family windows name null version null arch null ] match current OS
matched current OS.
executeCommand
	params: C:\Programme\IzPack\CloseTest\lib\install_helper.bat

stdout:

<output on stdout of your batch> 

stderr:
--------------------------------------------------------------------------------------------------

Do it, show it.

Klaus



>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Hans-Georg
>Michna
>Sent: Thursday, October 19, 2006 2:12 PM
>To: izpack-users at lists.berlios.de
>Subject: Re: [izpack-users] <executable ...> doesn't work
>(was:shortcutSpec.xml UTF-8 Byte Order Mark breaks IzPack operation)
>
>
>On Wed, 18 Oct 2006 16:25:49 +0200, Bartz, Klaus wrote:
>
>>Oops, I wasn't ready. I love a mailer which sends the longest
>>open message, not that one which holds the focus. It is a 
>>so called professional program...
>
>Klaus,
>
>no problem.
>
>>OK, some words related to <executable>.
>>Why not use state="postinstall" ? Then the install script shoud work.
>>Uninstall works with my test installation on my box.
>
>You probably mean stage (not state). I wrote that already---it
>doesn't work here. In my current tests nothing works any more,
>neither stage="postinstall" nor stage="uninstall" nor the
>default (no stage attribute). No program file is ever executed.
>I believe this is since version 3.9.0. I can't be sure if I'm
>doing something wrong, but I can't find it.
>
>IzPack shows no error or warning. The files are just not
>executed.
>
>Can you show me a sample of the relevant <executable ...> line?
>Perhaps something changed between versions and the documentation
>wasn't updated?
>
>Hans-Georg
>
>-- 
>No mail, please.
>
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>https://lists.berlios.de/mailman/listinfo/izpack-users
>



More information about the izpack-users mailing list