Difference between revisions of "Web interface"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(No difference)

Revision as of 19:19, 19 October 2005

You can see a preview of a WPKG http backend on http://wpkg.bilba.pl. It's not very sophisticated, and doesn't support all WPKG options - don't use this web interface in a production environment.

If you know some PHP and would like to help develop it, please let us know on the mailing list.


Currently, WPKG is configured using xml files. An example package looks like below:


   <package
       id="wpkg"
       name="Windows Packager"
       revision="1"
       reboot="false"
       priority="0">
       <check type="registry" condition="exists" path="HKLM\Software\wpkg" />
       <check type="file" condition="exists" path="C:\wpkg" />
       <install cmd="msiexec /i (path to msi)">
           <exit code="0" />
       </install>
       <remove  cmd="msiexec /x (path to msi)" />
       <upgrade cmd="msiexec /i (path to msi)" />
   </package>


It is extremely easy to add new packages this way. Because it's that easy, it would be also easy to manipulate it using a http backend.

If you feel comfortable with web programming (php, perl, or anything else), and think you could help us, or know someone who might help - drop us a note on the mailing list.

You can download the sources of the existing web interface here.