distribution.dist revision fb27aa740466280f820e13e238bc6dd0b477eb37
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync# Copyright (C) 2008-2010 Oracle Corporation
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync# Use only with permission.
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <options customize="allow" allow-external-scripts="yes" rootVolumeOnly="true"/>
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <installation-check script="checkPrerequisite()"></installation-check>
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync /* js:pkmk:start */
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync function checkPrerequisite()
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync system.log("Hardware architecture detected: " + test);
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync result = !(test == 'i386' || test == 'x86_64');
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync } catch (e) { system.log(e); }
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync my.result.title = system.localizedString('UNSUPPORTED_HW_MACHINE_TLE');
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync my.result.message = system.localizedString('UNSUPPORTED_HW_MACHINE_MSG');
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync return result;
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync test = system.version['ProductVersion'];
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync system.log("OS version detected: " + test);
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync result = !(system.compareVersions(test, '10.5') >= 0);
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync } catch (e) { system.log(e); }
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync my.result.title = system.localizedString('UNSUPPORTED_OS_TLE');
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync my.result.message = system.localizedString('UNSUPPORTED_OS_MSG');
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync return result;
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync result = system.run('checkforrunningvms') == '1';
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync } catch (e) { system.log(e); }
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync my.result.title = system.localizedString('RUNNING_VMS_TLE');
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync my.result.message = system.localizedString('RUNNING_VMS_MSG');
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync return result;
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync /* js:pkmk:end */
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <background file="background.tif" alignment="topleft" scaling="none"/>
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <choice id="choiceVBoxKEXTs" title="choiceVBoxKEXTs_title" description="choiceVBoxKEXTs_msg" start_selected="true" start_enabled="false" start_visible="true">
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <pkg-ref id="org.virtualbox.pkg.vboxkexts"></pkg-ref>
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <choice id="choiceVBoxStartup" title="choiceVBoxStartup_title" description="choiceVBoxStartup_msg" start_selected="true" start_enabled="false" start_visible="true">
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <pkg-ref id="org.virtualbox.pkg.vboxstartupitems"></pkg-ref>
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <choice id="choiceVBox" title="choiceVBox_title" description="choiceVBox_msg" start_selected="true" start_enabled="false" start_visible="true">
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <pkg-ref id="org.virtualbox.pkg.virtualbox"></pkg-ref>
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <choice id="choiceVBoxCLI" title="choiceVBoxCLI_title" description="choiceVBoxCLI_msg" start_selected="true" start_enabled="true" start_visible="true">
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <pkg-ref id="org.virtualbox.pkg.virtualboxcli"></pkg-ref>
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <pkg-ref id="org.virtualbox.pkg.vboxkexts" auth="Root">file:/Contents/Packages/VBoxKEXTs.pkg</pkg-ref>
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <pkg-ref id="org.virtualbox.pkg.vboxstartupitems" auth="Root">file:/Contents/Packages/VBoxStartupItems.pkg</pkg-ref>
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <pkg-ref id="org.virtualbox.pkg.virtualbox" auth="Root">file:/Contents/Packages/VirtualBox.pkg</pkg-ref>
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync <pkg-ref id="org.virtualbox.pkg.virtualboxcli" auth="Root">file:/Contents/Packages/VirtualBoxCLI.pkg</pkg-ref>