VirtualBox

Changeset 56936 in vbox for trunk/src/VBox/Installer/darwin


Ignore:
Timestamp:
Jul 14, 2015 10:23:22 PM (9 years ago)
Author:
vboxsync
Message:

Installer/darwin: We now require 10.8 and amd64 architecture (aka x86_64).

Location:
trunk/src/VBox/Installer/darwin/VirtualBox_mpkg
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/Localizable.strings

    r50588 r56936  
    1414
    1515'UNSUPPORTED_HW_MACHINE_TLE' = "Unsupported hardware architecture detected!";
    16 'UNSUPPORTED_HW_MACHINE_MSG' = "The installer has detected an unsupported architecture. VirtualBox only runs on the x86 and amd64 architectures.";
     16'UNSUPPORTED_HW_MACHINE_MSG' = "The installer has detected an unsupported architecture. VirtualBox only runs on the amd64 architecture.";
    1717
    1818'UNSUPPORTED_OS_TLE' = "Unsupported OS version detected!";
    19 'UNSUPPORTED_OS_MSG' = "The installer has detected an unsupported operation system. VirtualBox requires Mac OS X 10.6 or later.";
     19'UNSUPPORTED_OS_MSG' = "The installer has detected an unsupported operation system. VirtualBox requires Mac OS X 10.8 or later.";
    2020
  • trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist

    r56299 r56936  
    2525       try
    2626       {
     27           test = system.version['ProductVersion'];
     28           system.log("OS version detected: " + test);
     29           result = (system.compareVersions(test, '10.8') >= 0);
     30       } catch (e) { system.log(e); result = false; }
     31
     32       if (!result)
     33       {
     34           my.result.type = 'Fatal';
     35           my.result.title = system.localizedString('UNSUPPORTED_OS_TLE');
     36           my.result.message = system.localizedString('UNSUPPORTED_OS_MSG');
     37           return result;
     38       }
     39
     40       try
     41       {
    2742           test = system.sysctl('hw.machine');
    2843           system.log("Hardware architecture detected: " + test);
    29            result = (test == 'i386' || test == 'x86_64');
     44           result = (test == 'x86_64');
    3045       } catch (e) { system.log(e); result = false; }
    3146
     
    3550           my.result.title = system.localizedString('UNSUPPORTED_HW_MACHINE_TLE');
    3651           my.result.message = system.localizedString('UNSUPPORTED_HW_MACHINE_MSG');
    37            return result;
    38        }
    39 
    40        try
    41        {
    42            test = system.version['ProductVersion'];
    43            system.log("OS version detected: " + test);
    44            result = (system.compareVersions(test, '10.6') >= 0);
    45        } catch (e) { system.log(e); result = false; }
    46 
    47        if (!result)
    48        {
    49            my.result.type = 'Fatal';
    50            my.result.title = system.localizedString('UNSUPPORTED_OS_TLE');
    51            my.result.message = system.localizedString('UNSUPPORTED_OS_MSG');
    5252           return result;
    5353       }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette