[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [p2-dev] p2 installer tool - unexpected IUs uninstallation
It is possible to re-use the UI components
such as the install new software wizard. However you will need a
large number of the p2 bundles to perform any operations on a profile and
it isn't clear what parts of the p2 UI will be available as API in 3.5
(if any). PDE re-uses some of the UI components to add software sites
to target definitions. PDE also works with IUs and profiles directly
I don't know if there is a standalone
tool that can assist you in provisioning outside of your product. There
was a AdminUI program that could do some similar operations, but it is
not publicly available and might be quite out of date: http://wiki.eclipse.org/Equinox_p2_Admin_UI_Users_Guide
||"Stoilov, Dimo" <dimo.stoilov@xxxxxxx>
||P2 developer discussions <p2-dev@xxxxxxxxxxx>
||2009/10/30 09:54 AM
||RE: [p2-dev] p2 installer tool - unexpected
The director application is a
good idea but the problem is one cannot do headless update with it (unless
customizing the profile change request), like mentioned here: http://dev.eclipse.org/newslists/news.eclipse.technology.equinox/msg04742.html.
We are checking for eclipse provisioning
tool, that would be used also by the end user, thus we don't mind having
a UI. We are looking for something like the P2 UI (help->"check
for updates"/"install new software"). Is there a standalone
version of it? Can it provision another profile except itself (our product
doesn't contain the P2 bundles and is provisioned externally)?
On Behalf Of Pascal Rapicault
Sent: Wednesday, October 28, 2009 5:51 PM
To: P2 developer discussions
Cc: P2 developer discussions; p2-dev-bounces@xxxxxxxxxxx
Subject: Re: [p2-dev] p2 installer tool - unexpected IUs uninstallation
This is because this examplary installer is meant to only
install one product.
If you don't need a UI, then you can use the director application:
Dimo" ---10/28/2009 09:18:39 AM---Hello,
"Stoilov, Dimo" <dimo.stoilov@xxxxxxx>
P2 developer discussions <p2-dev@xxxxxxxxxxx>
10/28/2009 09:18 AM
[p2-dev] p2 installer tool - unexpected IUs uninstallation
We encountered the following issue with the equinox p2 installer tool (http://download.eclipse.org/equinox/drops/R-3.5.1-200909170800/download.php?dropFile=equinox.p2.installer-3.5.1-win32.win32.x86.zip).
Having a repositories Repo1 and Repo2 that have no common IUs:
1) Create an installation by running the installer pointing to Repo1
2) then switch to Repo2 hoping to add more stuff. However after running
the installer we found out the existing stuff (from Repo1) got uninstalled.
Is this the expected behavior? May be there would be more useful and more
intuitive to just add the new stuff to the already existing IUs instead
of uninstalling the existing stuff. In the same way like the P2 UI in help->"check
for updates"/"install new software"
Looking at the generated ProfileChangeRequest (in the code) - all the existing
IUs are set for removal, and the new ones set for addition.
p2-dev mailing list
p2-dev mailing list