diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:17:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:17:27 +0000 |
commit | f215e02bf85f68d3a6106c2a1f4f7f063f819064 (patch) | |
tree | 6bb5b92c046312c4e95ac2620b10ddf482d3fa8b /src/VBox/Installer/darwin/VirtualBox_mpkg | |
parent | Initial commit. (diff) | |
download | virtualbox-f215e02bf85f68d3a6106c2a1f4f7f063f819064.tar.xz virtualbox-f215e02bf85f68d3a6106c2a1f4f7f063f819064.zip |
Adding upstream version 7.0.14-dfsg.upstream/7.0.14-dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/VBox/Installer/darwin/VirtualBox_mpkg')
-rw-r--r-- | src/VBox/Installer/darwin/VirtualBox_mpkg/Conclusion.html | 7 | ||||
-rw-r--r-- | src/VBox/Installer/darwin/VirtualBox_mpkg/Conclusion.rtf | 9 | ||||
-rw-r--r-- | src/VBox/Installer/darwin/VirtualBox_mpkg/Localizable.strings | 23 | ||||
-rw-r--r-- | src/VBox/Installer/darwin/VirtualBox_mpkg/Welcome.html | 12 | ||||
-rw-r--r-- | src/VBox/Installer/darwin/VirtualBox_mpkg/Welcome.rtf | 13 | ||||
-rw-r--r-- | src/VBox/Installer/darwin/VirtualBox_mpkg/background.tif | bin | 0 -> 206064 bytes | |||
-rw-r--r-- | src/VBox/Installer/darwin/VirtualBox_mpkg/distribution-driverless.dist | 107 | ||||
-rw-r--r-- | src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist | 117 |
8 files changed, 288 insertions, 0 deletions
diff --git a/src/VBox/Installer/darwin/VirtualBox_mpkg/Conclusion.html b/src/VBox/Installer/darwin/VirtualBox_mpkg/Conclusion.html new file mode 100644 index 00000000..780149a6 --- /dev/null +++ b/src/VBox/Installer/darwin/VirtualBox_mpkg/Conclusion.html @@ -0,0 +1,7 @@ +<font face="sans-serif"> + +<p>To start VirtualBox, go to your Applications folder and double click on the +VirtualBox icon.</p> + +</font> + diff --git a/src/VBox/Installer/darwin/VirtualBox_mpkg/Conclusion.rtf b/src/VBox/Installer/darwin/VirtualBox_mpkg/Conclusion.rtf new file mode 100644 index 00000000..09d3de53 --- /dev/null +++ b/src/VBox/Installer/darwin/VirtualBox_mpkg/Conclusion.rtf @@ -0,0 +1,9 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf470 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\vieww10800\viewh8400\viewkind0 +\deftab720 +\pard\pardeftab720\sa240 + +\f0\fs24 \cf0 To start VirtualBox, go to your Applications folder and double click on the VirtualBox icon.\ +}
\ No newline at end of file diff --git a/src/VBox/Installer/darwin/VirtualBox_mpkg/Localizable.strings b/src/VBox/Installer/darwin/VirtualBox_mpkg/Localizable.strings new file mode 100644 index 00000000..b3cd4b3e --- /dev/null +++ b/src/VBox/Installer/darwin/VirtualBox_mpkg/Localizable.strings @@ -0,0 +1,23 @@ +'VirtualBox_title' = '@VBOX_PRODUCT@'; + +'choiceVBoxKEXTs_title' = '@VBOX_PRODUCT@ Kernel Extensions'; +'choiceVBoxKEXTs_msg' = 'Installs the @VBOX_PRODUCT@ Kernel Extensions into /Library/Application Support/VirtualBox.'; + +'choiceVBox_title' = '@VBOX_PRODUCT@'; +'choiceVBox_msg' = 'Installs the @VBOX_PRODUCT@ application into /Applications.'; + +'choiceVBoxCLI_title' = '@VBOX_PRODUCT@ Command Line Utilities'; +'choiceVBoxCLI_msg' = 'Installs the @VBOX_PRODUCT@ command line utilities into /usr/bin.'; + +'choiceOSXFuseCore_title' = 'FUSE for macOS core package'; +'choiceOSXFuseCore_msg' = 'Installs the FUSE for macOS core package for the image mounter.'; + +'RUNNING_VMS_TLE' = "Running VirtualBox virtual machines detected!"; +'RUNNING_VMS_MSG' = "The installer has detected running virtual machines. Please shut down all running VirtualBox machines and then restart the installation."; + +'UNSUPPORTED_HW_MACHINE_TLE' = "Unsupported hardware architecture detected!"; +'UNSUPPORTED_HW_MACHINE_MSG' = "The installer has detected an unsupported architecture. VirtualBox only runs on the amd64 architecture."; + +'UNSUPPORTED_OS_TLE' = "Unsupported OS version detected!"; +'UNSUPPORTED_OS_MSG' = "The installer has detected an unsupported operation system. VirtualBox requires Mac OS X 10.9 or later."; + diff --git a/src/VBox/Installer/darwin/VirtualBox_mpkg/Welcome.html b/src/VBox/Installer/darwin/VirtualBox_mpkg/Welcome.html new file mode 100644 index 00000000..956c2504 --- /dev/null +++ b/src/VBox/Installer/darwin/VirtualBox_mpkg/Welcome.html @@ -0,0 +1,12 @@ +<font face="sans-serif"> +<h2>@VBOX_PRODUCT@ for macOS</h2> + +<p>Welcome to @VBOX_PRODUCT@ +@VBOX_VERSION_MAJOR@.@VBOX_VERSION_MINOR@.@VBOX_VERSION_BUILD@ for macOS! +This installer will guide you through the installation process. In a minute +from now, you will be able to execute virtual machines running different +operating systems on your desktop. You will find that VirtualBox delivers a +great feature set and excellent performance.</p> + +</font> + diff --git a/src/VBox/Installer/darwin/VirtualBox_mpkg/Welcome.rtf b/src/VBox/Installer/darwin/VirtualBox_mpkg/Welcome.rtf new file mode 100644 index 00000000..4a8bbaf3 --- /dev/null +++ b/src/VBox/Installer/darwin/VirtualBox_mpkg/Welcome.rtf @@ -0,0 +1,13 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf470 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\vieww10800\viewh8400\viewkind0 +\deftab720 +\pard\pardeftab720\sa280 + +\f0\b\fs36 \cf0 @VBOX_PRODUCT@ for macOS +\b0 \ +\pard\pardeftab720\sa240 + +\fs24 \cf0 Welcome to @VBOX_PRODUCT@ @VBOX_VERSION_MAJOR@.@VBOX_VERSION_MINOR@.@VBOX_VERSION_BUILD@ for macOS! This installer will guide you through the installation process. In a minute from now, you will be able to execute virtual machines running different operating systems on your desktop. You will find that VirtualBox delivers a great feature set and excellent performance.\ +} diff --git a/src/VBox/Installer/darwin/VirtualBox_mpkg/background.tif b/src/VBox/Installer/darwin/VirtualBox_mpkg/background.tif Binary files differnew file mode 100644 index 00000000..9b99f142 --- /dev/null +++ b/src/VBox/Installer/darwin/VirtualBox_mpkg/background.tif diff --git a/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution-driverless.dist b/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution-driverless.dist new file mode 100644 index 00000000..7a963fb0 --- /dev/null +++ b/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution-driverless.dist @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2008-2023 Oracle and/or its affiliates. + + This file is part of VirtualBox base platform packages, as + available from https://www.virtualbox.org. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation, in version 3 of the + License. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see <https://www.gnu.org/licenses>. + + SPDX-License-Identifier: GPL-3.0-only +--> +<installer-gui-script minSpecVersion="1.0"> + <title>VirtualBox_title</title> + <options customize="allow" rootVolumeOnly="true" hostArchitectures="@VBOX_ARCH_LIST@"/> + <installation-check script="checkPrerequisite()"></installation-check> + <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/> + <script> +//<![CDATA[ + /* js:pkmk:start */ + function checkPrerequisite() + { + try + { + test = system.version['ProductVersion']; + system.log("OS version detected: " + test); + result = (system.compareVersions(test, '10.9') >= 0); + } catch (e) { system.log(e); result = false; } + + if (!result) + { + my.result.type = 'Fatal'; + my.result.title = system.localizedString('UNSUPPORTED_OS_TLE'); + my.result.message = system.localizedString('UNSUPPORTED_OS_MSG'); + return result; + } + + try + { + test = system.sysctl('hw.machine'); + system.log("Hardware architecture detected: " + test); + result = (test == '@VBOX_TARGET_ARCH@'); + } catch (e) { system.log(e); result = false; } + + if (!result) + { + my.result.type = 'Fatal'; + my.result.title = system.localizedString('UNSUPPORTED_HW_MACHINE_TLE'); + my.result.message = system.localizedString('UNSUPPORTED_HW_MACHINE_MSG'); + return result; + } + + try + { + /* Embedded scripts are not available here. Instead, run command to check for running VMs or running VBOX instance */ + runAppArr = system.applications.all() + for (let i = 0; i < runAppArr.length; i++) + { + if (runAppArr[i]["FileCreator"] == "VBOX" || runAppArr[i]["FileCreator"] == "VBVM") + { + result = false; + } + } + system.log("system.applications check => result=" + result); + } catch (e) { system.log(e); result = false; } + + if (!result) + { + + my.result.type = 'Fatal'; + my.result.title = system.localizedString('RUNNING_VMS_TLE'); + my.result.message = system.localizedString('RUNNING_VMS_MSG'); + return result; + } + + system.log("result:" + result); + return result; + } + /* js:pkmk:end */ +//]]> + </script> + <background file="background.tif" alignment="topleft" scaling="none"/> + <welcome file="Welcome.rtf" mime-type="text/rtf" uti="public.rtf"/> + <choices-outline> + <line choice="choiceVBox"></line> + <line choice="choiceVBoxCLI"></line> + </choices-outline> + <choice id="choiceVBox" title="choiceVBox_title" description="choiceVBox_msg" start_selected="true" start_enabled="false" start_visible="true"> + <pkg-ref id="org.virtualbox.pkg.virtualbox"></pkg-ref> + </choice> + <choice id="choiceVBoxCLI" title="choiceVBoxCLI_title" description="choiceVBoxCLI_msg" start_selected="true" start_enabled="true" start_visible="true"> + <pkg-ref id="org.virtualbox.pkg.virtualboxcli"></pkg-ref> + </choice> + <pkg-ref id="org.virtualbox.pkg.virtualbox" auth="Root">file:./Contents/Packages/VirtualBox.pkg</pkg-ref> + <pkg-ref id="org.virtualbox.pkg.virtualboxcli" auth="Root">file:./Contents/Packages/VirtualBoxCLI.pkg</pkg-ref> +</installer-gui-script> + diff --git a/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist b/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist new file mode 100644 index 00000000..bfa7cead --- /dev/null +++ b/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2008-2023 Oracle and/or its affiliates. + + This file is part of VirtualBox base platform packages, as + available from https://www.virtualbox.org. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation, in version 3 of the + License. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see <https://www.gnu.org/licenses>. + + SPDX-License-Identifier: GPL-3.0-only +--> +<installer-gui-script minSpecVersion="1.0"> + <title>VirtualBox_title</title> + <options customize="allow" rootVolumeOnly="true" hostArchitectures="@VBOX_ARCH_LIST@"/> + <installation-check script="checkPrerequisite()"></installation-check> + <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/> + <script> +//<![CDATA[ + /* js:pkmk:start */ + function checkPrerequisite() + { + try + { + test = system.version['ProductVersion']; + system.log("OS version detected: " + test); + result = (system.compareVersions(test, '10.9') >= 0); + } catch (e) { system.log(e); result = false; } + + if (!result) + { + my.result.type = 'Fatal'; + my.result.title = system.localizedString('UNSUPPORTED_OS_TLE'); + my.result.message = system.localizedString('UNSUPPORTED_OS_MSG'); + return result; + } + + try + { + test = system.sysctl('hw.machine'); + system.log("Hardware architecture detected: " + test); + result = (test == '@VBOX_TARGET_ARCH@'); + } catch (e) { system.log(e); result = false; } + + if (!result) + { + my.result.type = 'Fatal'; + my.result.title = system.localizedString('UNSUPPORTED_HW_MACHINE_TLE'); + my.result.message = system.localizedString('UNSUPPORTED_HW_MACHINE_MSG'); + return result; + } + + try + { + /* Embedded scripts are not available here. Instead, run command to check for running VMs or running VBOX instance */ + runAppArr = system.applications.all() + for (let i = 0; i < runAppArr.length; i++) + { + if (runAppArr[i]["FileCreator"] == "VBOX" || runAppArr[i]["FileCreator"] == "VBVM") + { + result = false; + } + } + system.log("system.applications check => result=" + result); + } catch (e) { system.log(e); result = false; } + + if (!result) + { + + my.result.type = 'Fatal'; + my.result.title = system.localizedString('RUNNING_VMS_TLE'); + my.result.message = system.localizedString('RUNNING_VMS_MSG'); + return result; + } + + system.log("result:" + result); + return result; + } + /* js:pkmk:end */ +//]]> + </script> + <background file="background.tif" alignment="topleft" scaling="none"/> + <welcome file="Welcome.rtf" mime-type="text/rtf" uti="public.rtf"/> + <choices-outline> + <line choice="choiceVBoxKEXTs"></line> + <line choice="choiceVBox"></line> + <line choice="choiceVBoxCLI"></line> + <line choice="choiceOSXFuseCore"></line> + </choices-outline> + <choice id="choiceVBoxKEXTs" title="choiceVBoxKEXTs_title" description="choiceVBoxKEXTs_msg" start_selected="true" start_enabled="true" start_visible="true"> + <pkg-ref id="org.virtualbox.pkg.vboxkexts"></pkg-ref> + </choice> + <choice id="choiceVBox" title="choiceVBox_title" description="choiceVBox_msg" start_selected="true" start_enabled="false" start_visible="true"> + <pkg-ref id="org.virtualbox.pkg.virtualbox"></pkg-ref> + </choice> + <choice id="choiceVBoxCLI" title="choiceVBoxCLI_title" description="choiceVBoxCLI_msg" start_selected="true" start_enabled="true" start_visible="true"> + <pkg-ref id="org.virtualbox.pkg.virtualboxcli"></pkg-ref> + </choice> + <choice id="choiceOSXFuseCore" title="choiceOSXFuseCore_title" description="choiceOSXFuseCore_msg" start_selected="true" start_enabled="true" start_visible="true"> + <pkg-ref id="com.github.osxfuse.pkg.Core"></pkg-ref> + </choice> + <pkg-ref id="org.virtualbox.pkg.vboxkexts" auth="Root">file:./Contents/Packages/VBoxKEXTs.pkg</pkg-ref> + <pkg-ref id="org.virtualbox.pkg.virtualbox" auth="Root">file:./Contents/Packages/VirtualBox.pkg</pkg-ref> + <pkg-ref id="org.virtualbox.pkg.virtualboxcli" auth="Root">file:./Contents/Packages/VirtualBoxCLI.pkg</pkg-ref> + <pkg-ref id="com.github.osxfuse.pkg.Core" auth="Root">file:./Contents/Packages/OSXFuseCore.pkg</pkg-ref> +</installer-gui-script> + |