The installer doesn't really do anything
very interesting. It really just creates a shell, prompts for install location,
and then invokes IDirector.provision to perform the actual install. We
never thought of the installer as the foundation for a commercial quality
installer and thus didn't design much extensibility into it. It does have
some minimal provisional API (package org.eclipse.equinox.internal.provisional.p2.installer),
which I could imagine promoting to real API in 3.5. I suspect this still
won't be sufficient for your needs and you would be better off writing
your own installer that just invokes the IDirector API to perform the actual
install.
John
Hi Pascal,
Thanks for your reply.
As far as I understood, the given installer is an example given by Eclipse
of how we can create an installer based on equinox (p2) and does not have
extension points available (right now). Is that right?
The essence of my question is because I would like to create an installer
on
top of p2 and add some functionalities to it. As all eclipse-based products
are distributed over the EPL license, I would like to know if have a way
to
contribute with new functionalities to it without modifying the given
example code, that is, using its available extension points.
Thanks,
Pedro Carneiro.
Pascal Rapicault wrote:
>
>
> Hi,
>
> If you are talking about the installer as available at
> http://download.eclipse.org/eclipse/equinox/drops/I20080609-1311/index.php,
> taking it apart / modifying / extending it is expected. This installer
> application has more the goal of being an exemplary application than
being
> something to be reused directly out of the box even though it could.
> In the long run, with everyone writing their own standalone installer
> based
> p2, I hope we can gather all this code and create a common base, or
just
> have a pool of reusable components to share.
>
> PaScaL
>
>
>
> From: Pedro Carneiro <pjsc@...>
>
> To: equinox-dev@...
>
> Date: 06/12/2008 07:35 AM
>
> Subject: [equinox-dev] p2 installer provides extension
points?
>
>
>
>
>
>
>
> Hi all,
>
> I would like to know if p2 installer provide extension points. If
yes,
> which
> are them?
> I'm asking this because in all the discussions that I read before
the
> developers are modifying the native installer behavior. Is this the
> expected
> way to do this?
>
> I did not find a lot of documentation about the new p2 equinox installer
> functionality (the great part comes from the eclipse wiki) and the
found
> one
> does not talks about this.
>
> Reading suggestions are always welcome.
>
> Thanks.
> --
> View this message in context:
> http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17737477.html
>
> Sent from the Equinox - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
--
View this message in context: http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17802640.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.
_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev