Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Downloading and executing installers using P2
Downloading and executing installers using P2 [message #640273] Fri, 19 November 2010 20:49
Amit Mookerjee is currently offline Amit MookerjeeFriend
Messages: 47
Registered: July 2009
I am new to P2 and am trying to figure out if there is a recommended pattern for downloading and executing installers using the P2 update manager.

Our product contains eclipse extension locations that are referred to in *.link files in the eclipse\links folder in the eclipse installation.

In eclipse 3.2 we had our own custom install handler that was referenced via the install-handler element in feature.xml. The custom install handler invokes a ANT script which in turn invokes the installer.

We want a similar functionality using P2 but we want to just maintain one update site that can work with both P2 and the classic update from eclipse 3.20.

We have run into a bunch of problems. It appears that when P2 discovers the install-handler element it ithrows a message asking the user to use the classic update which we do not want. Is there a way to write the feature so P2 can ignore this element and it will be consumed by the classic update manager in the regular manner?

Also, the data element of the feature is ignored by P2. The eclipse 3.2 update manager used to download the file (in our case the installer) referred in this element.

In summary we need a way to just download and invoke the installers and prompt a platform restart. After the restart all the features will be registered with P2.

Any help will be really appreciated.

Amit Mookerjee

Previous Topic:extending the wtp xml editor
Next Topic:Upgrade to Helios on OS X wont start
Goto Forum:

Current Time: Wed Jan 27 08:29:58 GMT 2021

Powered by FUDForum. Page generated in 0.02128 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top