[izpack-users] quit installer custom action listener

Bartz, Klaus Klaus.Bartz at coi.de
Mon Mar 19 14:23:38 CET 2007


Hi,
all is possible, but
it is not good to execute a program which
should be installed before installation.
in  a well designed installation there
is a GUI and a working phase. May be see
MSI...
Sometimes it is difficult to do it because
some requirements interfere it. But most it
is possible. See the ShortcutPanel. At creating
shortcuts the exe's have to exist. Therefore
long time this panel have to execute after
InstallPanel. But is this really necessary?
No, because there is a different between calling
something for the shortcut and creating them.
Therefore it is better to split the two actions
into a Panel which request only for the 
boundary conditions and a custom action which
do the work. Now this option exist for the
ShortcutPanle. May be you can do the same.

With the ProcessPanel it is a little different.
The question is whether it is a "normal" panel or
only a visualisation of state of process and
exceptions etc.

Cheers

Klaus

-----Original Message-----
From: izpack-users-bounces at lists.berlios.de
[mailto:izpack-users-bounces at lists.berlios.de] On Behalf Of E.othman
Sent: Monday, March 19, 2007 11:42 AM
To: izpack-users at lists.berlios.de
Subject: Re: [izpack-users] quit installer custom action listener


hi Klaus and thanks for the reply.
my first design was to display my custom panel before installation;
however i encountered a problem that obliged me to perform installation
before displaying custom panel.
here is the description of the issue:
in my packs i include some exe and bin files that i want to launch based
on user choice : if user selects the pack then i need to launch the exe
/bin file.
i did that using a process panel :
processing>
<job name="openoffice">
  <os family="windows" />
  <executefile name="$INSTALL_PATH/openoffice/OO.exe">
  
   
  </executefile>
</job>
</processing>
here you can notice that I'm executing the file after installation.
the question is : can i execute this file before installation ? if yes
what's the path to use for it ?
i tried paths "openoffice/OO.exe" and "oo.exe" paths but didn't worked.
a thought i have is to extract this "oo.exe" file from the Pack object
into some tmp directory then  launch it .is that possible ? how to
extract a packfile from a given pack ?
is there any better design u can propose me to solve my problem ?

thanks.

<snip>
_______________________________________________
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