[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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 hard on windows, requiring restart(s) to actually make changes take effect. 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 you have more than one you may need several reboots). 

- henrik

2 feb 2010 kl. 09.31 skrev "Arnaud LUCIEN" <Arnaud.LUCIEN@xxxxxxxxxxxx>:



I am working in a team that develops a product which is an IDE for C/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 product but also additional setup files which are MSI windows File. Reading the p2 documentation it seems to be possible to perform MSI file installation using p2 but I donât know how? Do I need to use a native p2 touchpoint (but which) or do I need to create my own touchpoint. To sum up: I am looking for any information telling how installing 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 hesitate to tell me to whom I must send it.


Best regards





About Ingenico: Ingenico is a leading provider of payment solutions, 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 any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately 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