[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [p2-dev] using p2 to install MSI files
No, as I mentioned, all I currently do is extract tar.bz2 files. This
could pushed down to p2, but then I'd lose write access to it ;).
On Tue, 2010-02-02 at 10:39 -0500, Pascal Rapicault wrote:
> Doug, do you already have code for MSI that you could add directly to
> p2 and thus help everybody trying to do this.
> Inactive hide details for Schaefer,"Schaefer, Doug" ---02/02/2010
> 10:27:10 AM---For Wascana, which has a custom package extractor (for
> tar.bz2 files), I simply create an touchpoint action that hooks up to
> "Schaefer, Doug"
> "P2 developer discussions"
> <p2-dev@xxxxxxxxxxx>, "P2 developer
> discussions" <p2-dev@xxxxxxxxxxx>
> 02/02/2010 10:27 AM
> RE: [p2-dev] using p2 to install
> MSI files
> For Wascana, which has a custom package extractor (for tar.bz2 files),
> I simply create an touchpoint action that hooks up to the native
> touchpoint. That's even easier. You can check it out of CVS
> from /cvsroot/tools, org.eclipse.cdt/p2. I have a generator, and the
> p2 plugin that does the install.
> The tricky thing, especially for Vista/7, will be making sure you are
> running the Windows installer as administrator.
> -----Original Message-----
> From: p2-dev-bounces@xxxxxxxxxxx on behalf of Henrik Lindberg
> Sent: Tue 2/2/2010 4:32 AM
> To: P2 developer discussions
> Subject: Re: [p2-dev] using p2 to install MSI files
> You need to write a touchpoint and add touchpoint instructions. Look
> at the native touchpoint and an instruction like "chmod" for
> inspiration (the chmod touchpoint instruction runs an external
> command). (It is perhaps possible to just add instructions to the
> native touchpoint btw).
> Should not be too hard to implement if all you want is "fire and
> forget" but gets a bit tricky if you want p2 to be able to perform
> rollback on failure. Replacing "files in use" is also notoriously
> on windows, requiring restart(s) to actually make changes take
> Running MSI as part of the p2 install can thus mean that a reboot is
> performed in the middle of the process. So, you need to figure out a
> way to safely complete p2 install and get all your MSIs to run (if
> have more than one you may need several reboots).
> - henrik
> 2 feb 2010 kl. 09.31 skrev "Arnaud LUCIEN"
> > Hello,
> > I am working in a team that develops a product which is an IDE for
> > C++ development on Electronic Payment Terminal. We are developing
> > plug-ins to work with Eclipse 3.5, CDT 6.0 and Mylin. We use pde
> > build to generate this product and I want to distribute it to my
> > user community using p2.
> > Globally it's worked but I want to use p2 to install not only my pr
> > oduct but also additional setup files which are MSI windows File. Re
> > ading the p2 documentation it seems to be possible to perform MSI fi
> > le installation using p2 but I don't know how? Do I need to use a na
> > tive p2 touchpoint (but which) or do I need to create my own touchpo
> > int. To sum up: I am looking for any information telling how install
> > ing non eclipse feature (setup file, MSI Files, reguister keys, rmi
> > files.) using p2.
> > If this email is not sent at the right place, please do not
> > to tell me to whom I must send it.
> > Best regards
> > Arnaud LUCIEN
> > About Ingenico: Ingenico is a leading provider of payment
> > with over 15 million terminals deployed in more than 125 countries.
> > Its 2,850 employees worldwide support retailers, banks and service
> > providers to optimize and secure their electronic payments
> > solutions, develop their offer of services and increase their point
> > of sales revenue. More information on www.ingenico.com.
> > This message may contain confidential and/or privileged
> > information. If you are not the addressee or authorized to receive
> > this for the addressee, you must not use, copy, disclose or take
> > action based on this message or any information herein. If you have
> > received this message in error, please advise the sender
> > by reply e-mail and delete this message. Thank you for your
> > cooperation.
> > P Please consider the environment before printing this e-mail
> > _______________________________________________
> > p2-dev mailing list
> > p2-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/p2-dev
> p2-dev mailing list
> p2-dev mailing list