Difference between revisions of "Web interface"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
 
Line 1: Line 1:
You can see a preview of a WPKG http backend on [http://wpkg.bilba.pl 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 [[Support|mailing list]].
 
If you know some PHP and would like to help develop it, please let us know on the [[Support|mailing list]].
  

Revision as of 15:40, 19 September 2006

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.