9 |
<script> |
<script> |
10 |
function req_install_check() { |
function req_install_check() { |
11 |
system.log("LinuxSampler installer launched ..."); |
system.log("LinuxSampler installer launched ..."); |
12 |
if (!(system.version.ProductVersion >= '10.5.0')) { |
if (!(system.compareVersions(system.version.ProductVersion, '10.5.0') >= 0)) { |
13 |
my.result.title = 'Wrong Mac OS X Version'; |
my.result.title = 'Wrong Mac OS X Version'; |
14 |
my.result.message = 'You need at least Mac OS X 10.5.0 to install this software'; |
my.result.message = 'You need at least Mac OS X 10.5.0 to install this software'; |
15 |
my.result.type = 'Fatal'; |
my.result.type = 'Fatal'; |