views:

129

answers:

1

I am building an Eclipse RCP application with the command-line version of PDE build in Eclipse 3.5.1. Then I use AdvancedInstaller to create the installer for the RCP product. I think the context would be similar with InstallShield and similar packagers instead of AdvancedInstaller.

If I incorporate p2 provisioning into my build, would I be able to continue distributing the product as a stand-alone installer (still produced by Advanced Installer) and do the updates through a p2 generated update repository?

A: 

I don't know anything about AdvancedInstaller, but I'm guessing it is essentially packaging up the RCP product that results from your build.

Yes, you should be able to do as you describe. Turning on p2 in the build shouldn't change anything with respect to that installer, the build results will still be the runnable RCP product that you can package up.

The difference will just be that the product that you are packaging up will be properly configured for p2. (It will actually be the result of a p2 install operation). The build will also be able to optionally produce a p2 repository for the product which you can put up on the web to allow updating from version to version.

Andrew Niefer