VirtualBox

source: vbox/trunk/src/VBox/Additions/darwin/Installer/VBoxGuestAdditions_mpkg/distribution-x86.dist

Last change on this file was 106061, checked in by vboxsync, 41 hours ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (C) 2008-2024 Oracle and/or its affiliates.
4
5 This file is part of VirtualBox base platform packages, as
6 available from https://www.virtualbox.org.
7
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation, in version 3 of the
11 License.
12
13 This program is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, see <https://www.gnu.org/licenses>.
20
21 SPDX-License-Identifier: GPL-3.0-only
22-->
23<installer-gui-script minSpecVersion="1.0">
24 <title>VirtualBox_title</title>
25 <options customize="allow" allow-external-scripts="false" rootVolumeOnly="true" hostArchitectures="i386"/>
26 <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
27 <!-- This allowes a better error message compared to allowed-os-versions: -->
28 <installation-check script="checkPrerequisites()"></installation-check>
29 <script>
30 /* js:pkmk:start */
31 function checkPrerequisites()
32 {
33 sArch = system.sysctl('hw.machine');
34 system.log("Detected hw arch: " + sArch);
35 sVer = system.version['ProductVersion'];
36 system.log("Detected OS version: " + sVer);
37 if (sArch == 'i386')
38 {
39 if (system.compareVersions(sVer, '10.8') &lt; 0)
40 {
41 system.log("checkPrerequisites returns true");
42 return true;
43 }
44 }
45 system.log("checkPrerequisites returns false!");
46 my.result.type = 'Fatal';
47 my.result.title = system.localizedString('UNSUPPORTED_X86_OS_TLE');
48 my.result.message = system.localizedString('UNSUPPORTED_X86_OS_MSG');
49 return false;
50 }
51 /* js:pkmk:end */
52 </script>
53 <background file="background.tif" alignment="topleft" scaling="none"/>
54 <welcome file="Welcome.rtf" mime-type="text/rtf" uti="public.rtf"/>
55 <choices-outline>
56 <line choice="choiceVBoxToolsAndServices"></line>
57 <line choice="choiceVBoxKEXTs"></line>
58 </choices-outline>
59
60 <choice id="choiceVBoxToolsAndServices" title="choiceVBoxToolsAndServices_title" description="choiceVBoxToolsAndServices_msg" start_selected="true" start_enabled="false" start_visible="true">
61 <pkg-ref id="org.virtualbox.pkg.additions.tools-and-services"></pkg-ref>
62 </choice>
63 <choice id="choiceVBoxKEXTs" title="choiceVBoxKEXTs_title" description="choiceVBoxKEXTs_msg" start_selected="true" start_enabled="false" start_visible="true">
64 <pkg-ref id="org.virtualbox.pkg.additions.kexts"></pkg-ref>
65 </choice>
66
67 <pkg-ref id="org.virtualbox.pkg.additions.tools-and-services" auth="Root">file:./Contents/Packages/VBoxGuestAdditionsToolsAndServices.pkg</pkg-ref>
68 <pkg-ref id="org.virtualbox.pkg.additions.kexts" auth="Root">file:./Contents/Packages/VBoxGuestAdditionsKEXTs.pkg</pkg-ref>
69
70</installer-gui-script>
Note: See TracBrowser for help on using the repository browser.

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