[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] Equinox P2 executable updates
- From: Prodan Daniela <daniela.prodan@xxxxxxxxx>
- Date: Wed, 18 Feb 2009 19:08:11 +0200
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=c6lFjhaVzmRtGcyGMJi04RaUD4QUxTyYO74k+8Md5X7OlZudTKESu/lJQIlQd/YM+K 5eUgVj4HkNyEIVsJvnYuf9q/nKB8v/7ADxX+1pmXb/VR6FIJ6fmP7rg4Dft3G//wR8AY Mnh3qapfjYrFJfeUpi/NQ8LPoPVpvRPIHC67E=
How does P2 handles the updates that are .exe files: for example, an update for a feature from the Eclipse-based product can be found on a certain site and the file is MCF52277Support_Update.exe (msi compliant). P2 installs MCF52277Support_Update.exe in background, in the command line? Or just starts the process for this update and the user can continue the installation of this patch using the graphic interface of this msi-compliant update?
Sorry for my trivial questions, but I've just started to learn about the P2 updater.
On Wed, Feb 18, 2009 at 5:29 PM, John Arthorne <John_Arthorne@xxxxxxxxxx>
Hi Prodan, yes that is possible. The
"unzip" touchpoint instruction can lay down files anywhere on
your disk. Relative paths are treated as relative to the current working
directory, which is the directory containing eclipse.exe. So you would
have a target path like "../folder1".
Currently p2 doesn't support updating
an eclipse.exe that is currently running. We refactored most of the launcher
code into a separate DLL so that upgrading the launcher itself should be
quite rare. You can currently only do this by running p2 from a separate
install folder (run the p2 director application and point it at the installation
For an Eclipse based product that has the following content:
is it possible to install updates that will be installed in folder1/ or
Equinox P2 can run updates that are actually .exe files and not only eclipse
folder will be updated, but also files from folder1/ or folder2/ ?
And how the Equinox P2 manages updates that are executables? Runs the .exe
file in background, in the command line? Or it can run the .exe file and
start the graphic interface for that update and the user can go on with
p2-dev mailing list