ppm3/ppm4 API documentation

Posted by scottcain on 2006-11-01 21:05
Forums: PPM | OS: All / Any

Hello,

I am looking for documentation on writing code that makes use of PPM modules. Here's why I want to know: I would like to write an installer script that will programmatically add a repository and install prerequisites and then procede on to installing the application. I would like to write code that would work on both ppm3 and ppm4 if possible.

While I could use system calls to run ppm, I think that using the modules directly will be cleaner (for instance, I can avoid adding repositories that are already in the list).

Thanks for any help,
Scott

cjfields | Fri, 2006-12-01 19:47

Scott,

The ActivePerl HTML docs come with a description of PPM4 and the XML specs for PPD (I had to dig a bit to find them). If you have WinXP it should be located in your Perl installlation directory:

html/lib/ActivePerl/PPM/PPD.html

Chris