Foodworks

Foodworks 7 from Xyris (http://www.xyris.com.au/) installs nicely. Just set the license variable to your license, if you have multiple licenses then split the package into one to install Foodworks and multiple packages with the relevant licenses.

<?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 ../xsd/packages.xsd" >
 
    <package
            id="foodworks"
            name="FoodWorks"
            revision="%PKG_VERSION%"
            reboot="false"
            priority="100">
 
        <variable name="PKG_VERSION"     value="7.0.2943" />
        <variable name="PKG_DESTINATION" value="%ProgramFiles%\Xyris Software\Foodworks 7"      architecture="x86"/>
        <variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\Xyris Software\Foodworks 7" architecture="x64"/>
        <variable name="LICENSE"         value="SET ME" />

        <check type="uninstall" condition="versiongreaterorequal" path="FoodWorks 7"            value="%PKG_VERSION%" />
 
        <install cmd='msiexec /i "%SOFTWARE%\foodworks\foodworks7.msi" /qn' />
        <install cmd='%COMSPEC% /c "%PKG_DESTINATION%\updatelicense.exe" –install %LICENSE% ' />
       
        <upgrade include="install" />
 
        <remove cmd='msiexec /x "%SOFTWARE%\foodworks\foodworks7.msi" /qn' />
    </package>
</packages:packages>