Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:WXP JRE 1.5
-
Number of attachments :6
Description
Hi
For the same installer ISO-ITU-OSI-100-install.jar, run 3 successives times, I got
1/ on first run, the bug1.gif attached
2/ on the second run, the bug2.gif attached
3/ on the third run, a complete working installation.
What is going wrong the first 2 times????
Rgds
zosrothko
Attachments
-
$i18n.getText("admin.common.words.hide")
- ISO-ITU-OSI-100-install(2).jar
- 25/Jul/09 8:54 AM
- 7.87 MB
- zosrothko
-
- META-INF/MANIFEST.MF 0.2 kB
- com/izforge/izpack/CustomData.class 0.9 kB
- com/izforge/izpack/ExecutableFile.class 3 kB
- com/izforge/izpack/GUIPrefs.class 0.6 kB
- com/izforge/izpack/Info$Author.class 0.7 kB
- com/izforge/izpack/Info.class 4 kB
- com/izforge/izpack/LocaleDatabase.class 3 kB
- com/izforge/izpack/Pack.class 3 kB
- com/izforge/izpack/PackFile.class 4 kB
- com/izforge/izpack/Panel.class 4 kB
- com/izforge/izpack/ParsableFile.class 0.9 kB
- com/izforge/izpack/UpdateCheck.class 1.0 kB
- com/izforge/izpack/XPackFile.class 2 kB
- com/izforge/.../adaptator/IXMLElement.class 1 kB
- com/izforge/.../adaptator/IXMLParser.class 0.4 kB
- com/izforge/.../adaptator/IXMLWriter.class 0.3 kB
- com/izforge/.../impl/LineNumberFilter.class 2 kB
- com/izforge/.../impl/XMLElementImpl.class 6 kB
- com/izforge/izpack/.../impl/XMLParser.class 3 kB
- com/izforge/izpack/.../impl/XMLWriter.class 1 kB
- com/izforge/.../CompilerException.class 0.7 kB
- com/izforge/.../DynamicVariable.class 0.9 kB
- com/.../AutomatedInstallScriptFilter.class 1 kB
- com/izforge/.../gui/ButtonFactory.class 2 kB
- com/izforge/.../gui/EtchedLineBorder.class 0.6 kB
- com/izforge/izpack/gui/FlowLayout.class 4 kB
- com/izforge/.../gui/HighlightJButton$1.class 0.2 kB
- com/.../HighlightJButton$MouseHandler.class 0.9 kB
- com/izforge/.../gui/HighlightJButton.class 1 kB
- com/izforge/.../gui/IconsDatabase.class 0.4 kB
$i18n.getText("admin.common.words.show")- ISO-ITU-OSI-100-install(2).jar
- 25/Jul/09 8:54 AM
- 7.87 MB
- zosrothko
-
- traces first run.txt
- 12/Aug/09 9:50 AM
- 28 kB
- zosrothko
-
- traces second run.txt
- 12/Aug/09 9:50 AM
- 28 kB
- zosrothko
-
- traces third run.txt
- 12/Aug/09 9:50 AM
- 29 kB
- zosrothko
Activity
Can you reproduce the issue by running the installer from the console with "java -DTRACE=TRUE -DSTACKTRACE=TRUE -jar ISO-ITU-OSI-100-install(2).jar" and attach the resulting output here?
Hi zosrothko,
In this installer are you copying same file to two diff. places
i.e. abc.txt to $INSTALL_PATH/abc and $INSTALL_PATH/xyz
This problem might be because of that...Because of IzPack's feature of back referencing it might be causing problem.
-Aftab
Screenshot provides very little information about where exactly its causing problem in the Unpacker.
I have resolved similar issues in the past in the IzPack code.
What you may want to try is :
1. Remove copying same file to diff. location, remove copying from one location.
2. Write an execuatble which copies that file from one location to other.
i.e. <file src="abc.txt" todir="$INSTALL_PATH/abc" />
<file src="abc.txt" todir="$INSTALL_PATH/xyz" /> <!-- REMOVE THIS LINE -->
Write a script sh/bat file something like this
copy.sh
=======
cp $INSTALL_PATH/abc/abc.txt $INSTALL_PATH/xyz/
and put this copy.sh in execuatble as well as parsable tag.
This might resolve your problem.
-Aftab
I tried to join the installer jar but that's not possible since it is about 12Mb and the upper allowed limit for attachment is 10Mb.