[izpack-users] Add files to pack without installing them?

Hal Vaughan hal at thresholddigital.com
Tue Jan 31 16:20:33 CET 2006


On Tuesday 31 January 2006 09:05, Darren Govoni wrote:
> Hi,
>    Is it possible to add files to a pack while compiling the installer
> that do not have a target dir?
> I would then want to select certain files to install based on user
> input. For example, lets say
> I have 2 sub directories files/one, files/two (both compiled into the
> installer).
> I want to only install one directory using a variable, like
> file="files/$CHOICE" targetdir="files/" . Is this possible?

I'm not 100% clear on what you want, but ti seems you want most of the files 
to be installed in the target directory, but some other files to be installed 
elsewhere.

If that's so, you could use the ProcessPanel and create a script (usually I 
have 2, one .bat for Windows and one .sh for *nix) and have the script move 
the files where you want them after they're copied over to the target 
directory.

Will that do what you need?

Hal



More information about the izpack-users mailing list