<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="1">
    <title>Logiciels de Prokov Editions</title>
    <options customize="never" allow-external-scripts="no"/>
    <domains enable_localSystem="true"/>
    <background file="background.tiff" alignment="topleft" scaling="none"/>
    <welcome file="Welcome.rtf"/>
    <readme file="ReadMe.rtf"/>
    <license file="License.rtf"/>
    <pkg-ref id="com.prokov.kx.products">
        <bundle-version>
            <bundle CFBundleShortVersionString="4.0.49" CFBundleVersion="1" id="com.prokov.vigipaiement" path="Applications/ProkovG4/VigiPaiement.app"/>
            <bundle CFBundleShortVersionString="4.0.3.33" CFBundleVersion="33" id="com.prokov.medistory4mac" path="Applications/ProkovG4/MédiStory.app"/>
            <bundle CFBundleShortVersionString="1.2.1" CFBundleVersion="1.2.1" id="com.collaboration-world.Pantomime" path="Library/Frameworks/ProkovG4/PX4.framework/Versions/A/Frameworks/Pantomime.framework"/>
            <bundle CFBundleShortVersionString="1.0.3" CFBundleVersion="1" id="com.prokov.AutisOcrExt" path="Library/Frameworks/ProkovG4/AutisOcrExt.framework"/>
            <bundle CFBundleShortVersionString="1.2.28" CFBundleVersion="0" id="com.prokov.mx4" path="Library/Frameworks/ProkovG4/MX4.framework"/>
            <bundle CFBundleShortVersionString="4.0.49" CFBundleVersion="1" id="com.prokov.fx" path="Library/Frameworks/ProkovG4/FX4.framework"/>
            <bundle CFBundleShortVersionString="5.2.33" CFBundleVersion="1" id="com.prokov.expressvitale-5" path="Applications/ProkovG4/ExpressVitale.app"/>
            <bundle CFBundleShortVersionString="4.0.3.33" CFBundleVersion="33" id="com.prokov.ml4" path="Library/Frameworks/ProkovG4/ML4.framework"/>
            <bundle CFBundleShortVersionString="5.2.33" CFBundleVersion="1" id="com.prokov.ex5" path="Library/Frameworks/ProkovG4/EX5.framework"/>
            <bundle CFBundleShortVersionString="1.1.0" CFBundleVersion="1" id="com.prokov.xucad" path="Library/Frameworks/ProkovG4/ML4.framework/Versions/A/Helpers/MAJ_Prokov.app"/>
            <bundle CFBundleShortVersionString="1.0.23" CFBundleVersion="1" id="com.prokov.cx4" path="Library/Frameworks/ProkovG4/CX4.framework"/>
            <bundle CFBundleShortVersionString="4.0.23" CFBundleVersion="1" id="com.prokov.kx.compta4" path="Applications/ProkovG4/VigiCompta.app"/>
            <bundle CFBundleShortVersionString="1.2.28" CFBundleVersion="0" id="com.prokov.kx4" path="Library/Frameworks/ProkovG4/KX4.framework"/>
            <bundle CFBundleShortVersionString="4.1" CFBundleVersion="4.1.0.0" id="org.chip.SwiftFHIR" path="Applications/ProkovG4/MédiStory.app/Contents/Frameworks/SwiftFHIR.framework"/>
            <bundle CFBundleShortVersionString="1.0.23" CFBundleVersion="1" id="com.prokov.vc-exploitation" path="Library/Frameworks/ProkovG4/CX4.framework/Versions/A/PlugIns/vc_exploitation.extd"/>
            <bundle CFBundleShortVersionString="1.0.2" CFBundleVersion="1" id="com.prokov.MAS" path="Library/Frameworks/ProkovG4/MAS.framework"/>
            <bundle CFBundleShortVersionString="4.51" CFBundleVersion="2" id="fr.sesamvitale.ATSAM" path="Library/Application Support/ProkovG4/Banques.prkv/cps3.bank"/>
            <bundle CFBundleShortVersionString="4.0.6" CFBundleVersion="1" id="com.prokov.px4" path="Library/Frameworks/ProkovG4/PX4.framework"/>
        </bundle-version>
    </pkg-ref>
    <options customize="never" require-scripts="false"/>
    <choices-outline>
        <line choice="default">
            <line choice="com.prokov.kx.products"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="com.prokov.kx.products" visible="false">
        <pkg-ref id="com.prokov.kx.products"/>
    </choice>
    <pkg-ref id="com.prokov.kx.products" version="1.0" onConclusion="RequireRestart" installKBytes="399498">#Products.pkg</pkg-ref>
    <installation-check script="CustomInstallationCheck();"/>
    <script><![CDATA[

function CustomInstallationCheck()
{
	system.log('BUG CustomInstallationCheck');
        if(!(system.compareVersions(system.version.ProductVersion, '10.15') >= 0))
        {
                my.result.title = 'Version du système incompatible';
                my.result.message = 'MacOS 10.15 requis pour réaliser l’installation.';
                my.result.type = 'Fatal';
                return false;
         }
        return true;
}

]]></script>
</installer-gui-script>