A web-based frontend to WPKG. Based on wpkgExpress by Brian White. WPKG is an automated software deployment, upgrade and removal program for Windows.
Create a XML package file:
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wpkg.org/packages">
<package id="zzWPKG-REPORT" name="WPKG Report" revision="2018.12.05" priority="0" reboot="false" execute="changed">
<!-- Notes: Create WPKG Report -->
<variable name="Revision" value="2018.12.05"/>
<variable name="RevI1" value="2018"/>
<variable name="RevI2" value="12"/>
<variable name="RevI3" value="05"/>
<variable name="ProgramDir" value="%ProgramFiles%\Wpkg" architecture="x86"/>
<variable name="ProgramDir" value="%ProgramW6432%\Wpkg" architecture="x64"/>
<variable name="ReportPathLocal" value="%TEMP%\wpkg-report.log"/>
<variable name="ReportPathNet" value="\\fabrikam.com\system\wpkg\base\reports\%COMPUTERNAME%.log"/>
<variable name="WpkgScript" value="wpkg.js"/>
<commands>
<command type="install" include="cleanup"/>
<command type="install" cmd="%ComSpec% /C cscript.exe "%ProgramDir%\%WpkgScript%" //NoLogo /query:iml /queryMode:local /quiet:false > %ReportPathLocal%" timeout="60">
<condition>
<check type="file" condition="exists" path="%ProgramDir%\%WpkgScript%"/>
</condition>
</command>
<command type="install" cmd="%ComSpec% /C copy /Y "%ReportPathLocal%" "%ReportPathNet%"" timeout="30">
<condition>
<check type="file" condition="exists" path="%ReportPathLocal%"/>
</condition>
</command>
<command type="cleanup" cmd="%ComSpec% /C del /F /Q "%ReportPathLocal%"" timeout="30">
<condition>
<check type="file" condition="exists" path="%ReportPathLocal%"/>
</condition>
</command>
</commands>
</package>
</packages:packages>
Revision
, RevI1
, RevI2
and RevI3
.Create a XML profile file:
<?xml version="1.0" encoding="UTF-8"?>
<profiles:profiles xmlns:profiles="http://www.wpkg.org/profiles" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wpkg.org/profiles">
<profile id="WPKG_Common">
<!-- Notes: WPKG common profile. -->
<package package-id="zzWPKG-REPORT"/>
</profile>
</profiles:profiles>
Create a XML host file:
<?xml version="1.0" encoding="UTF-8"?>
<hosts:wpkg xmlns:hosts="http://www.wpkg.org/hosts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wpkg.org/hosts">
<host name=".+" profile-id="WPKG_Common">
<!-- Notes: WPKG common host. -->
</host>
</hosts:wpkg>
Application settings
->
Uploading XML
;Application settings
->
Creating XML
, paste this XML into the editor and click the Create
button.