[izpack-users] Install Log file
Bartz, Klaus
Klaus.Bartz at coi.de
Thu Jul 20 09:21:20 CEST 2006
Hi Fabrice,
may be I understand not right...
I think to add a text area is not the solution because James needs
the logging post mortem of the installation. In the InstallPanel the
current installed file will by shown in a label above the progressbar,
but often it is so fast that nobody can read it. A text area with a
scroll bar will be very big (4681 lines at my server installation).
But I also think that it will be a good idea to duplicate install.log
into the file system because some user have problems to extract something
out of a jar file.
The impl should be peanuts. I vote for a facultative feature controlled
by an IzPack variable.
May be we can split the work. I make the implementation, you the docu :-)
By the way, I write a short description of the summary stuff and send it
next week to you.
Cheers
Klaus
>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Miraodb
>Sent: Thursday, July 20, 2006 9:03 AM
>To: izpack-users at lists.berlios.de
>Subject: Re: [izpack-users] Install Log file
>
>
>Hi Klaus and James,
>
>Few things on the topic...
>I saw many times in installers the possibility to have the files list
>automatically showing up dynamically as the install panel goes
>on with the
>packs... Couldn't we add a text area to show those files while
>processed
>(while they're written into install.log i guess...)? I could
>create a copy
>of installpanel which just add this and it's up to the
>developer to choose
>which installpanel to use ?
>Or we could also add a checkbox to the current panel to show
>up or not the
>text area... i'm not sure on how easy that is (dynamic panels!
>never done
>it)
>
>Solution 1 is easier i think. Two is a bit better. But most
>importantly:
>Sounds doable ? Sounds like a good idea?
>
>Any comments is appreciated.
>
>Cheers,
>Fabrice
>
>----- Original Message -----
>From: "Bartz, Klaus" <Klaus.Bartz at coi.de>
>To: <izpack-users at lists.berlios.de>
>Sent: Thursday, July 20, 2006 8:31 AM
>Subject: Re: [izpack-users] Install Log file
>
>
>> 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
>> >
>> _______________________________________________
>> izpack-users mailing list
>> izpack-users at lists.berlios.de
>> http://bat.berlios.de/mailman/listinfo/izpack-users
>>
>>
>
>_______________________________________________
>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