<?xml version="1.0" encoding="utf-8"?>
<installer-gui-script minSpecVersion="1">
    <title>HPRT-PRINTER</title>
    <organization>com.hprt.label.derivative.printer.mac.driver</organization>
    <domains enable_localSystem="true"/>
    <options hostArchitectures="i386,x86_64" customize="always" allow-external-scripts="true"/>
    <allowed-os-versions>
        <os-version min="10.6.0"/>
    </allowed-os-versions>
    <welcome file="README.rtf" mime-type="application/rtf"/>
    <!-- Packages -->
    <pkg-ref id="com.hprt.label.derivative.printer.mac.driver.Install" version="1.2.1" onConclusion="none" installKBytes="519">#hprt-label-derivative-printer-mac-driver.pkg</pkg-ref>
    <pkg-ref id="com.hprt.label.derivative.printer.mac.driver.Uninstall" version="1.2.1" onConclusion="none" installKBytes="0">#uninstall-hprt-label-derivative-printer-mac-driver.pkg</pkg-ref>
    <!-- Choices -->
    <choice id="install" title="Install Driver" description="You will install the printer driver. Please continue." selected="( ! choices['uninstall'].selected )">
        <pkg-ref id="com.hprt.label.derivative.printer.mac.driver.Install"/>
    </choice>
    <choice id="uninstall" title="Uninstall Driver" tooltip="Uninstall an existing printer driver installation" description="This removes the files related to printer driver from the system. This will not remove existing printers that are using these driver, you will have to remove those manually." start_selected="false" start_visible="false" visible="( system.files.fileExistsAtPath('/usr/libexec/cups/filter/raster-zpl') )" selected="( choices['uninstall'].visible &amp;&amp; (( ! choices['install'].selected ) ) )">
        <pkg-ref id="com.hprt.label.derivative.printer.mac.driver.Uninstall"/>
    </choice>
    <!-- Outline -->
    <choices-outline>
        <line choice="install"/>
        <line choice="uninstall"/>
    </choices-outline>
    <pkg-ref id="com.hprt.label.derivative.printer.mac.driver.Install">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="com.hprt.label.derivative.printer.mac.driver.Uninstall">
        <bundle-version/>
    </pkg-ref>
    <product id="com.hprt.label.derivative.printer.mac.driver" version="1.2.1"/>
</installer-gui-script>