[izpack-users] Query regarding Search field

Bartz, Klaus Klaus.Bartz at coi.de
Tue Aug 8 15:49:06 CEST 2006


Hi Muhammad,
you know, IzPack is not really able to perform maintenance.
If I have to solve such a problem I will write a custom action which
writes the path into a properties file or something else in a path
I know (e.g. INSTALL_DIR). 
A corresponding custom panel derived from PathInputPanel
tries to read this properties file. If possible (not first run), it will
be used as default, if not found (first run) no default or a synthetic
default.
 
Cheers
 
Klaus

-----Original Message-----
From: izpack-users-bounces at lists.berlios.de [mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Muhammad Sufian Javed
Sent: Tuesday, August 08, 2006 3:35 PM
To: izpack-users at lists.berlios.de
Subject: [izpack-users] Query regarding Search field


Hi everyone,
      My team has successfully developed an ERP for textile sector but have not made an installer yet :-)  and now are dealing with change request which amongst other also demands installer. We have 15 textile mills i.e. clients all around Pakistan. 
       During installation we are also taking backup of the database and in the User Input Panel we demand our user to provide the path where the backup of the database should be made. Once the user defines path by clicking the browse button the backup is made successfully to that particular folder.
     But the problem is that:
First time when installer runs we want "normal behavior" at the click of "Browse" button of the "search" field, the normal behavior means the user select the path where the backup should be made. But, when the installer is run the second time i.e. the user wants to manually take backup of the database the second time we want the installer to remember i.e. save somewhere the last search field path selected i.e. the last folder where the backup has already made.
     Please note "choice value" is not the solution because we never know where the folder is located for every single client.
 
 <field type="search" variable="strBackupPath">
                <description align="left" txt="Select installation path for database backup:"
                            id="description.strBackupPath"/>
                <spec txt="Path to BD Backup:" type="directory" result="directory">
                </spec>
  </field>       
 
 
Please let me know if it is possible.
 
Thanks a lot
Muhammad Sufian Javed

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20060808/9c3cd17c/attachment.html 


More information about the izpack-users mailing list