Copy external file

View: New views
3 Messages — Rating Filter:   Alert me  

Copy external file

by grossetti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everyone,

I need to be able to tell IzPack to copy a file that is not in the
installer, during the install process. I have not found how to point to
the current working dir from Izpack. I  have a zip file with a config
file and the installer, the idea is for the user to unzip it and run the
installer, and it will copy the personalized config file to the install
dir. Does anyone know how to do that?

Thanks, Gabriel

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Copy external file

by grossetti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gabriel Rossetti wrote:

> Hello everyone,
>
> I need to be able to tell IzPack to copy a file that is not in the
> installer, during the install process. I have not found how to point
> to the current working dir from Izpack. I  have a zip file with a
> config file and the installer, the idea is for the user to unzip it
> and run the installer, and it will copy the personalized config file
> to the install dir. Does anyone know how to do that?
>
> Thanks, Gabriel

Ok, I tried writing a bash script and executing it. I is included,
parsed, but execute can't find it. I extracted it with '.' as the
destination path, and the execution is a post installation execution.
Does anyone have an idea why it can't find it, or how to do what I'd
like to do?

Thanks,
Gabriel

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Copy external file

by grossetti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gabriel Rossetti wrote:

> Gabriel Rossetti wrote:
>> Hello everyone,
>>
>> I need to be able to tell IzPack to copy a file that is not in the
>> installer, during the install process. I have not found how to point
>> to the current working dir from Izpack. I  have a zip file with a
>> config file and the installer, the idea is for the user to unzip it
>> and run the installer, and it will copy the personalized config file
>> to the install dir. Does anyone know how to do that?
>>
>> Thanks, Gabriel
>
> Ok, I tried writing a bash script and executing it. I is included,
> parsed, but execute can't find it. I extracted it with '.' as the
> destination path, and the execution is a post installation execution.
> Does anyone have an idea why it can't find it, or how to do what I'd
> like to do?
>
> Thanks,
> Gabriel
>

Does anyone know how I could do this? I searched the web and tried
various things but nothing I tried works.

Thank you,
Gabriel

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email