1a84601801d5bd045712787a3ef59313795389a1vboxsync<?xml version="1.0" encoding="UTF-8"?>
1a84601801d5bd045712787a3ef59313795389a1vboxsync<!--
1a84601801d5bd045712787a3ef59313795389a1vboxsync#
1a84601801d5bd045712787a3ef59313795389a1vboxsync# Copyright (C) 2008-2013 Oracle Corporation
1a84601801d5bd045712787a3ef59313795389a1vboxsync#
1a84601801d5bd045712787a3ef59313795389a1vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
1a84601801d5bd045712787a3ef59313795389a1vboxsync# available from http://www.virtualbox.org. This file is free software;
1a84601801d5bd045712787a3ef59313795389a1vboxsync# you can redistribute it and/or modify it under the terms of the GNU
1a84601801d5bd045712787a3ef59313795389a1vboxsync# General Public License (GPL) as published by the Free Software
1a84601801d5bd045712787a3ef59313795389a1vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
1a84601801d5bd045712787a3ef59313795389a1vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1a84601801d5bd045712787a3ef59313795389a1vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1a84601801d5bd045712787a3ef59313795389a1vboxsync#
1a84601801d5bd045712787a3ef59313795389a1vboxsync-->
1a84601801d5bd045712787a3ef59313795389a1vboxsync<installer-gui-script minSpecVersion="1.0">
1a84601801d5bd045712787a3ef59313795389a1vboxsync <title>VirtualBox_title</title>
1a84601801d5bd045712787a3ef59313795389a1vboxsync <options customize="allow" allow-external-scripts="yes" rootVolumeOnly="true" hostArchitectures="i386"/>
1a84601801d5bd045712787a3ef59313795389a1vboxsync <installation-check script="checkPrerequisite()"></installation-check>
1a84601801d5bd045712787a3ef59313795389a1vboxsync <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
1a84601801d5bd045712787a3ef59313795389a1vboxsync <script>
1a84601801d5bd045712787a3ef59313795389a1vboxsync /* js:pkmk:start */
1a84601801d5bd045712787a3ef59313795389a1vboxsync function checkPrerequisite()
1a84601801d5bd045712787a3ef59313795389a1vboxsync {
1a84601801d5bd045712787a3ef59313795389a1vboxsync try
1a84601801d5bd045712787a3ef59313795389a1vboxsync {
1a84601801d5bd045712787a3ef59313795389a1vboxsync test = system.version['ProductVersion'];
1a84601801d5bd045712787a3ef59313795389a1vboxsync system.log("OS version detected: " + test);
1a84601801d5bd045712787a3ef59313795389a1vboxsync result = (system.compareVersions(test, '10.6') >= 0);
1a84601801d5bd045712787a3ef59313795389a1vboxsync } catch (e) { system.log(e); result = false; }
1a84601801d5bd045712787a3ef59313795389a1vboxsync
1a84601801d5bd045712787a3ef59313795389a1vboxsync if (!result)
1a84601801d5bd045712787a3ef59313795389a1vboxsync {
1a84601801d5bd045712787a3ef59313795389a1vboxsync my.result.type = 'Fatal';
1a84601801d5bd045712787a3ef59313795389a1vboxsync my.result.title = system.localizedString('UNSUPPORTED_OS_TLE');
1a84601801d5bd045712787a3ef59313795389a1vboxsync my.result.message = system.localizedString('UNSUPPORTED_OS_MSG');
1a84601801d5bd045712787a3ef59313795389a1vboxsync return result;
1a84601801d5bd045712787a3ef59313795389a1vboxsync }
1a84601801d5bd045712787a3ef59313795389a1vboxsync
1a84601801d5bd045712787a3ef59313795389a1vboxsync system.log("result:" + result);
1a84601801d5bd045712787a3ef59313795389a1vboxsync return result;
1a84601801d5bd045712787a3ef59313795389a1vboxsync }
1a84601801d5bd045712787a3ef59313795389a1vboxsync /* js:pkmk:end */
1a84601801d5bd045712787a3ef59313795389a1vboxsync </script>
1a84601801d5bd045712787a3ef59313795389a1vboxsync <background file="background.tif" alignment="topleft" scaling="none"/>
1a84601801d5bd045712787a3ef59313795389a1vboxsync <welcome file="Welcome.rtf" mime-type="text/rtf" uti="public.rtf"/>
1a84601801d5bd045712787a3ef59313795389a1vboxsync <choices-outline>
1a84601801d5bd045712787a3ef59313795389a1vboxsync <line choice="choiceVBoxToolsAndServices"></line>
1a84601801d5bd045712787a3ef59313795389a1vboxsync <line choice="choiceVBoxKEXTs"></line>
1a84601801d5bd045712787a3ef59313795389a1vboxsync </choices-outline>
1a84601801d5bd045712787a3ef59313795389a1vboxsync
1a84601801d5bd045712787a3ef59313795389a1vboxsync <choice id="choiceVBoxToolsAndServices" title="choiceVBoxToolsAndServices_title" description="choiceVBoxToolsAndServices_msg" start_selected="true" start_enabled="false" start_visible="true">
1a84601801d5bd045712787a3ef59313795389a1vboxsync <pkg-ref id="org.virtualbox.pkg.additions.tools-and-services"></pkg-ref>
1a84601801d5bd045712787a3ef59313795389a1vboxsync </choice>
1a84601801d5bd045712787a3ef59313795389a1vboxsync <choice id="choiceVBoxKEXTs" title="choiceVBoxKEXTs_title" description="choiceVBoxKEXTs_msg" start_selected="true" start_enabled="false" start_visible="true">
1a84601801d5bd045712787a3ef59313795389a1vboxsync <pkg-ref id="org.virtualbox.pkg.additions.kexts"></pkg-ref>
1a84601801d5bd045712787a3ef59313795389a1vboxsync </choice>
1a84601801d5bd045712787a3ef59313795389a1vboxsync
1a84601801d5bd045712787a3ef59313795389a1vboxsync <pkg-ref id="org.virtualbox.pkg.additions.tools-and-services" auth="Root">file:/Contents/Packages/VBoxGuestAdditionsToolsAndServices.pkg</pkg-ref>
1a84601801d5bd045712787a3ef59313795389a1vboxsync <pkg-ref id="org.virtualbox.pkg.additions.kexts" auth="Root">file:/Contents/Packages/VBoxGuestAdditionsKEXTs.pkg</pkg-ref>
1a84601801d5bd045712787a3ef59313795389a1vboxsync
1a84601801d5bd045712787a3ef59313795389a1vboxsync</installer-gui-script>