2013-12-18 09:48:02 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2019-02-11 10:14:41 +00:00
|
|
|
<!--
|
|
|
|
https://developer.apple.com/library/mac/documentation/DeveloperTools/Reference/DistributionDefinitionRef/
|
|
|
|
-->
|
2013-12-18 09:48:02 +00:00
|
|
|
<installer-gui-script minSpecVersion="2">
|
|
|
|
<allowed-os-versions>
|
2015-11-02 23:03:17 +00:00
|
|
|
<os-version min="10.10"/>
|
2013-12-18 09:48:02 +00:00
|
|
|
</allowed-os-versions>
|
|
|
|
<background file="background.jpg" mime-type="image/jpeg" scaling="tofit"/>
|
2013-12-18 10:40:59 +00:00
|
|
|
<welcome file="Welcome.html" mime-type="text/html"/>
|
2017-02-08 09:12:59 +00:00
|
|
|
<title>@PACKAGE_STRING@</title>
|
2019-10-17 21:28:38 +00:00
|
|
|
<options customize="allow" require-scripts="false" rootVolumeOnly="true"/>
|
|
|
|
<script>
|
|
|
|
<![CDATA[
|
|
|
|
function osx_before_catalina() {
|
|
|
|
if((system.compareVersions(system.version.ProductVersion, '10.15')) == -1)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function osx_after_catalina() {
|
|
|
|
if((system.compareVersions(system.version.ProductVersion, '10.15')) >= 0)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function osx_after_yosemite() {
|
|
|
|
if((system.compareVersions(system.version.ProductVersion, '10.12')) >= 0)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]]>
|
|
|
|
</script>
|
2013-12-18 09:48:02 +00:00
|
|
|
<choices-outline>
|
2019-12-02 11:29:32 +00:00
|
|
|
<line choice="default" />
|
|
|
|
<line choice="startup" />
|
|
|
|
<line choice="tokend" />
|
2019-11-30 23:15:56 +00:00
|
|
|
<line choice="token" />
|
2013-12-18 09:48:02 +00:00
|
|
|
</choices-outline>
|
2019-11-30 23:15:56 +00:00
|
|
|
<choice id="default" title="PKCS#11 module and smart card tools" enabled="false">
|
2019-02-11 10:14:41 +00:00
|
|
|
<pkg-ref id="org.opensc-project.mac">OpenSC.pkg</pkg-ref>
|
|
|
|
</choice>
|
2019-12-02 11:29:32 +00:00
|
|
|
<choice id="tokend" title="TokenD-based smart card driver" start_selected="osx_before_catalina()">
|
2019-02-11 10:14:41 +00:00
|
|
|
<pkg-ref id="org.opensc-project.tokend">OpenSC-tokend.pkg</pkg-ref>
|
2013-12-18 09:48:02 +00:00
|
|
|
</choice>
|
2019-12-02 11:29:32 +00:00
|
|
|
<choice id="token" title="CryptoTokenKit-based smart card driver" visible="osx_after_yosemite()" start_selected="osx_after_catalina()">
|
2019-10-17 21:28:38 +00:00
|
|
|
<pkg-ref id="org.opensc-project.mac.opensctoken">OpenSCToken.pkg</pkg-ref>
|
|
|
|
</choice>
|
2019-11-30 23:15:56 +00:00
|
|
|
<choice id="startup" title="Automatic startup items">
|
2019-03-18 22:08:58 +00:00
|
|
|
<pkg-ref id="org.opensc-project.startup">OpenSC-startup.pkg</pkg-ref>
|
|
|
|
</choice>
|
2015-11-02 23:03:17 +00:00
|
|
|
</installer-gui-script>
|