[izpack-users] Install Log file

Bartz, Klaus Klaus.Bartz at coi.de
Thu Jul 20 08:31:02 CEST 2006


Hi James,
see context related.

Cheers

Klaus

>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of 
>James Oltmans
>Sent: Thursday, July 20, 2006 2:29 AM
>To: izpack-users at lists.berlios.de
>Subject: [izpack-users] Install Log file
>
>
>This has been asked before but I haven't seen any answers in the
>archives or clear documentation on the matter. 
>
>Is there a way to create a log file during the installation and save it
>to a specific directory/location of my choosing? 

Radio Erivan, principle yes, but...
If you use the SummaryPanel (really, I have forgotten to write something
in the docu; sorry) you get a summary. Place it before the InstallPanel.
If you also use the SummaryLoggerInstallerListener the file
$INSTALL_PATH/Uninstaller/InstallSummary.htm will be created after all
chosen packs are installed.
The panel and the file contains the summary of all panels, but not the
file set which was installed because this can be many (at my biggest
installation ~500KB).
The logging of installed files and created dirs are in the uninstaller.jar.
Extract install.log from the uninstaller.jar and you have it.

If you create custom panels, you can determine what has to be placed
in the summary for that panel. You should implement the method
getSummaryBody. You can also implement getSummaryCaption, but there
is a default for it (see docu chapter "create your own panels" :-)).


>We'd like to be able to do post-mortem on what our testers/users are
>doing. 

Uups, what do you install? A bomb? Or why your testers are die during
installation :-)

>Also, if that's possible is it also possible to add our own debug
>statements to the log? 
>
>For instance:
>Beginning install
>Starting Pack X
>Installing somethingOrOther.jar to C:\Program
>Files\oh_my_what_the_heck_was_the_user_thinking\
>Finished Pack X
>Finished Install with errors:
>Blah blah blah
>
>We'd at least like to know what the user chose during the install
>process. Another very nice feature for the log file would be hardware
>info about the user..... 
>Anything like that out there?
>
>Thanks
>James Oltmans
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>http://bat.berlios.de/mailman/listinfo/izpack-users
>



More information about the izpack-users mailing list