056add8311718c0166b7036b31fd581858a607b3vboxsync<?xml version='1.0' encoding='windows-1252'?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<!--
0da0539aeae9b2692f4967c4a8ef273018effb2evboxsync VirtualBox Windows Installation Script (WiX)
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync Copyright (C) 2014 Oracle Corporation
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
0da0539aeae9b2692f4967c4a8ef273018effb2evboxsync This file is part of VirtualBox Open Source Edition (OSE), as
0da0539aeae9b2692f4967c4a8ef273018effb2evboxsync available from http://www.virtualbox.org. This file is free software;
0da0539aeae9b2692f4967c4a8ef273018effb2evboxsync you can redistribute it and/or modify it under the terms of the GNU
0da0539aeae9b2692f4967c4a8ef273018effb2evboxsync General Public License (GPL) as published by the Free Software
0da0539aeae9b2692f4967c4a8ef273018effb2evboxsync Foundation, in version 2 as it comes in the "COPYING" file of the
0da0539aeae9b2692f4967c4a8ef273018effb2evboxsync VirtualBox OSE distribution. VirtualBox OSE is distributed in the
0da0539aeae9b2692f4967c4a8ef273018effb2evboxsync hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync-->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
d97357e2036109245c83ba553d0290212e28ea40vboxsync xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <?include Properties.wxi ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- The merge module file names -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <?define Property_VBoxMergeApp = "$(env.VBOX_WIN_INST_MERGE_APP)" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?define Property_VBoxMergeCOM32On64 = "$(env.VBOX_WIN_INST_MERGE_COM32ON64)" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?define Property_VBoxMergeUSB = "$(env.VBOX_WIN_INST_MERGE_USB)" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?define Property_VBoxMergeNetworkFlt = "$(env.VBOX_WIN_INST_MERGE_NETFLT)" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?define Property_VBoxMergeNetworkAdp = "$(env.VBOX_WIN_INST_MERGE_NETADP)" ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <?define Property_VBoxMergeNetworkLwf = "$(env.VBOX_WIN_INST_MERGE_NETLWF)" ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <?endif ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <?define Property_VBoxMergeNetworkAdp6 = "$(env.VBOX_WIN_INST_MERGE_NETADP6)" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?define Property_VBoxMergePython = "$(env.VBOX_WIN_INST_MERGE_PYTHON)" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Product Id="*"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync UpgradeCode="C4BAD770-BFE8-4D2C-A592-693028A7215B"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Name="$(env.VBOX_PRODUCT) $(env.VBOX_VERSION_STRING)"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Language="!(loc.LANG)"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Codepage="1252"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Version="$(var.Property_Version)"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Manufacturer="$(env.VBOX_VENDOR)">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Package Id="*"
056add8311718c0166b7036b31fd581858a607b3vboxsync Keywords="Installer"
056add8311718c0166b7036b31fd581858a607b3vboxsync Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) installation package"
056add8311718c0166b7036b31fd581858a607b3vboxsync Comments="$(env.VBOX_PRODUCT) installation package"
056add8311718c0166b7036b31fd581858a607b3vboxsync Compressed="yes"
056add8311718c0166b7036b31fd581858a607b3vboxsync Manufacturer="$(env.VBOX_VENDOR)"
056add8311718c0166b7036b31fd581858a607b3vboxsync InstallerVersion="200"
056add8311718c0166b7036b31fd581858a607b3vboxsync InstallPrivileges="elevated"
056add8311718c0166b7036b31fd581858a607b3vboxsync Platform="$(var.Property_Platform)"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Global properties -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <Property Id="ARPPRODUCTICON">IconVirtualBox</Property>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Property Id="ARPURLINFOABOUT">http://www.virtualbox.org</Property>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Property Id="ARPURLUPDATEINFO">http://www.virtualbox.org</Property>
056add8311718c0166b7036b31fd581858a607b3vboxsync
387349b986368264694c1ab64b2914e73f566575vboxsync <!-- Default property for network adapter type -->
a7cb1a0bfefdfcfa6d366ce52826f5669f302e1fvboxsync <Property Id="NETWORKTYPE" Value="NDIS6" Secure="yes"/>
a7cb1a0bfefdfcfa6d366ce52826f5669f302e1fvboxsync <!-- Force NDIS5 on pre-Vista -->
a7cb1a0bfefdfcfa6d366ce52826f5669f302e1fvboxsync <SetProperty Id="NETWORKTYPE" After="CostFinalize" Value="NDIS5"><![CDATA[VersionNT < 600]]></SetProperty>
387349b986368264694c1ab64b2914e73f566575vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Install the product for all users on the system -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <Property Id="ALLUSERS"><![CDATA[1]]></Property>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Force overwriting all files and re-create shortcuts to guarantee a working environment -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <Property Id='REINSTALLMODE' Value='amus'/>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- VirtualBox properties -->
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <Property Id="VBOX_INSTALLDESKTOPSHORTCUT" Value="1" />
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <Property Id="VBOX_INSTALLQUICKLAUNCHSHORTCUT" Value="1" />
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <Property Id="VBOX_REGISTERFILEEXTENSIONS" Value="1" />
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <Property Id="VBOX_STARTVBOX" Value="1" />
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Make sure installation will not start on anything other but the NT family -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.BUILD_TARGET_ARCH) = "amd64" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Condition Message="!(loc.Only64Bit)">
056add8311718c0166b7036b31fd581858a607b3vboxsync VersionNT64
056add8311718c0166b7036b31fd581858a607b3vboxsync </Condition>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?else ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Condition Message="!(loc.Only32Bit)">
056add8311718c0166b7036b31fd581858a607b3vboxsync NOT VersionNT64
056add8311718c0166b7036b31fd581858a607b3vboxsync </Condition>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Condition Message="!(loc.WrongOS)">
056add8311718c0166b7036b31fd581858a607b3vboxsync NOT VersionNT=500 AND NOT Version9X AND NOT VersionNT64
056add8311718c0166b7036b31fd581858a607b3vboxsync </Condition>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Condition Message="!(loc.NeedAdmin)">
056add8311718c0166b7036b31fd581858a607b3vboxsync Privileged
056add8311718c0166b7036b31fd581858a607b3vboxsync </Condition>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Detect old innotek installation -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Force a manual uninstall of an already installed innotek VirtualBox version first -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <Property Id="VBOXINNOTEK">
056add8311718c0166b7036b31fd581858a607b3vboxsync <RegistrySearch Id="RegSearchInnotekVersion" Root="HKLM" Key="SOFTWARE\Innotek\VirtualBox" Name="Version" Type="raw" Win64="$(var.Property_Win64)"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Property>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Condition Message="!(loc.InnotekFound)">
056add8311718c0166b7036b31fd581858a607b3vboxsync NOT VBOXINNOTEK
056add8311718c0166b7036b31fd581858a607b3vboxsync </Condition>
056add8311718c0166b7036b31fd581858a607b3vboxsync
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- *************************** Upgrade packages only ******************************* -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Minimum and Maximum specify the range of versions we are supposed to update with this upgrade.
056add8311718c0166b7036b31fd581858a607b3vboxsync IncludeMaximum and IncludeMinimum specify whether the bound value is actually included in the range or not
056add8311718c0166b7036b31fd581858a607b3vboxsync (IncludeMaximum = yes meaning to find versions below or equal to the version specified in Maximum while
056add8311718c0166b7036b31fd581858a607b3vboxsync IncludeMaximum = no only finds those below the Maximum).
056add8311718c0166b7036b31fd581858a607b3vboxsync OnlyDetect tells the installer not to remove the previous product. This is useful as long as we
056add8311718c0166b7036b31fd581858a607b3vboxsync only change files in the package -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Upgrade Id="C4BAD770-BFE8-4D2C-A592-693028A7215B"> <!-- Upgrade of Sun xVM VirtualBox >= v1.6.0 -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Upgrade is flagged if current-install is newer than or equal to package - TODO: should make a dialog appear asking user to confirm downgrade -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Setting "OnlyDetect" to "no" makes the installer uninstall an already newer installed version -->
0104a9180d9c57d8c618245fbbcd8fc09a629a52vboxsync <UpgradeVersion Property="NEWERVERSIONDETECTED" Minimum="$(var.Property_Version)" IncludeMinimum="no" OnlyDetect="no" />
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Flag is set if the install will trigger an upgrade of an existing install -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <UpgradeVersion Property="PREVIOUSVERSIONSINSTALLED" Minimum="1.0.0.0" Maximum="$(var.Property_Version)" IncludeMaximum="yes" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync </Upgrade>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- The product's icon table -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <Icon Id="IconVirtualBox" SourceFile="$(env.VBOX_WINDOWS_ICON_FILE)" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
f89a9a89bbb6486fda960f0b97be6dc931ca5ba1vboxsync <!-- The media/binary IDs -->
f89a9a89bbb6486fda960f0b97be6dc931ca5ba1vboxsync <Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
f89a9a89bbb6486fda960f0b97be6dc931ca5ba1vboxsync <Media Id="2" Cabinet="common.cab" EmbedCab="no" CompressionLevel="high" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?endif ?>
f89a9a89bbb6486fda960f0b97be6dc931ca5ba1vboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Custom actions -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Figure out where a previous installation was, if any -->
056add8311718c0166b7036b31fd581858a607b3vboxsync<?if $(env.BUILD_TARGET_ARCH) = "amd64" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <CustomAction Id="ca_OriginalTargetDir" Execute="firstSequence" Property="INSTALLDIR"
056add8311718c0166b7036b31fd581858a607b3vboxsync Value="[ProgramFiles64Folder]\$(env.VBOX_VENDOR_SHORT)\VirtualBox" />
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Property Id="EXISTINGINSTALLDIR" Secure="yes">
056add8311718c0166b7036b31fd581858a607b3vboxsync <RegistrySearch Id="RegistryGetInstallPath" Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir"
056add8311718c0166b7036b31fd581858a607b3vboxsync Type="raw" Win64="$(var.Property_Win64)"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Property>
056add8311718c0166b7036b31fd581858a607b3vboxsync <CustomAction Id="ca_DefaultTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[EXISTINGINSTALLDIR]" />
056add8311718c0166b7036b31fd581858a607b3vboxsync<?else ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <CustomAction Id="ca_OriginalTargetDir" Execute="firstSequence" Property="INSTALLDIR"
056add8311718c0166b7036b31fd581858a607b3vboxsync Value="[ProgramFilesFolder]\$(env.VBOX_VENDOR_SHORT)\VirtualBox" />
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Property Id="EXISTINGINSTALLDIR" Secure="yes">
056add8311718c0166b7036b31fd581858a607b3vboxsync <RegistrySearch Id="RegistryGetInstallPath" Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir"
056add8311718c0166b7036b31fd581858a607b3vboxsync Type="raw" Win64="$(var.Property_Win64)"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Property>
056add8311718c0166b7036b31fd581858a607b3vboxsync <CustomAction Id="ca_DefaultTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[EXISTINGINSTALLDIR]" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <CustomAction Id="ca_UninstallTAPInstances" BinaryKey="VBoxInstallHelper"
056add8311718c0166b7036b31fd581858a607b3vboxsync DllEntry="UninstallTAPInstances" Execute="deferred" Return="check" Impersonate="no"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync <Property Id="VBOXDEPENDENCY" Secure="yes">
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync <DirectorySearch Id="VBoxInstallDir" Path="[EXISTINGINSTALLDIR]">
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync <FileSearch Name="dependency.dep"/>
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync </DirectorySearch>
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync </Property>
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync <!--
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync install upgrade uninstall
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync VBOXDEPENDENCY 0 1/0 1/0
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync UPGRADINGPRODUCTCODE 0 1 0
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync final 0 1 0
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync not final 1 0 1
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync -->
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync <Condition Message="It was detected an application which has been using currently installed VirtualBox version.
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync You must remove this application before continuing installation.
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync See the file dependency.dep in the VirtualBox installation directory for details. ">
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync NOT (VBOXDEPENDENCY AND UPGRADINGPRODUCTCODE)
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync </Condition>
9e9bbda1a3a15840a424c00d01097fd5fdeb65e5vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Detect old Sun installation -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Force a manual uninstall of an already installed Sun VirtualBox version first -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <!--<Property Id="VBOXSUN">
056add8311718c0166b7036b31fd581858a607b3vboxsync <RegistrySearch Id="RegSearchSunVersion" Root="HKLM" Key="SOFTWARE\Sun\VirtualBox" Name="Version" Type="raw" Win64="$(var.Property_Win64)"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Property>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Condition Message="!(loc.SunFound)">
056add8311718c0166b7036b31fd581858a607b3vboxsync NOT VBOXSUN
056add8311718c0166b7036b31fd581858a607b3vboxsync </Condition>-->
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <CustomAction Id="ca_StartVBox" Directory="INSTALLDIR" ExeCommand="[INSTALLDIR]\VirtualBox.exe" Return="asyncNoWait" Impersonate="yes" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <CustomAction Id="ca_CheckSerial" BinaryKey="VBoxInstallHelper" DllEntry="CheckSerial" Impersonate="no"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <CustomAction Id="ca_InstallBranding" BinaryKey="VBoxInstallHelper" DllEntry="InstallBranding" Execute="deferred" Return="check" Impersonate="no"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync <CustomAction Id="ca_InstallBrandingArgs" Property="ca_InstallBranding" Value="[INSTALLDIR]" Execute="immediate"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <CustomAction Id="ca_UninstallBranding" BinaryKey="VBoxInstallHelper" DllEntry="UninstallBranding" Execute="deferred" Return="check" Impersonate="no"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync <CustomAction Id="ca_UninstallBrandingArgs" Property="ca_UninstallBranding" Value="[INSTALLDIR]" Execute="immediate"/>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <?include VBoxMergeAppCA.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergeCOM32On64CA.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?endif ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergeNetFltCA.wxi ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <?include VBoxMergeNetLwfCA.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?endif ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergeNetAdpCA.wxi ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <?include VBoxMergeNetAdp6CA.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergeUSBCA.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergePythonCA.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?endif ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="TARGETDIR" Name="SourceDir">
05434b0f975aee3cb8a4a15b1d79b81407b29a31vboxsync <Directory Id="$(var.Property_ProgramFiles)" Name="PFiles">
05434b0f975aee3cb8a4a15b1d79b81407b29a31vboxsync <Directory Id="VENDOR" Name="$(env.VBOX_VENDOR_SHORT)">
05434b0f975aee3cb8a4a15b1d79b81407b29a31vboxsync <Directory Id="INSTALLDIR" Name="VirtualBox">
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Merge Id="msm_VBoxApp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeApp)" DiskId="1" />
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <Merge Id="msm_VBoxCOM32On64" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeCOM32On64)" DiskId="1" />
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?else ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <Directory Id="msm_VBoxApplicationFolder" FileSource=".">
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <?include VBoxMergeApp.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <?include VBoxMergeCOM32On64.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?endif ?>
b12bc1314a383038ad9554057813840cf638fde9vboxsync </Directory>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_Drivers" Name="drivers">
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_USB" Name="USB">
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Merge Id="msm_VBoxUSB" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeUSB)" DiskId="1" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?else ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <Directory Id="msm_VBoxUSBFolder" FileSource=".">
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <?include VBoxMergeUSB.wxi ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync </Directory>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_Network" Name="network">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_NetFlt" Name="netflt">
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Merge Id="msm_VBoxNetworkFlt" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkFlt)" DiskId="1" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?else ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <Directory Id="msm_VBoxNetworkFltFolder" FileSource=".">
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <?include VBoxMergeNetFlt.wxi ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync </Directory>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?endif ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_NetAdp" Name="netadp">
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Merge Id="msm_VBoxNetworkAdp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkAdp)" DiskId="1" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?else ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <Directory Id="msm_VBoxNetworkAdpFolder" FileSource=".">
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <?include VBoxMergeNetAdp.wxi ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync </Directory>
387349b986368264694c1ab64b2914e73f566575vboxsync<?endif ?>
387349b986368264694c1ab64b2914e73f566575vboxsync </Directory>
387349b986368264694c1ab64b2914e73f566575vboxsync
387349b986368264694c1ab64b2914e73f566575vboxsync<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <Directory Id="dir_NetLwf" Name="netlwf">
387349b986368264694c1ab64b2914e73f566575vboxsync <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <Merge Id="msm_VBoxNetworkLwf" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkLwf)" DiskId="1" />
387349b986368264694c1ab64b2914e73f566575vboxsync <?else ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <Directory Id="msm_VBoxNetworkLwfFolder" FileSource=".">
387349b986368264694c1ab64b2914e73f566575vboxsync <?include VBoxMergeNetLwf.wxi ?>
387349b986368264694c1ab64b2914e73f566575vboxsync </Directory>
387349b986368264694c1ab64b2914e73f566575vboxsync <?endif ?>
387349b986368264694c1ab64b2914e73f566575vboxsync </Directory>
387349b986368264694c1ab64b2914e73f566575vboxsync<?endif ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <Directory Id="dir_NetAdp6" Name="netadp6">
387349b986368264694c1ab64b2914e73f566575vboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <Merge Id="msm_VBoxNetworkAdp6" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkAdp6)" DiskId="1" />
387349b986368264694c1ab64b2914e73f566575vboxsync<?else ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <Directory Id="msm_VBoxNetworkAdp6Folder" FileSource=".">
387349b986368264694c1ab64b2914e73f566575vboxsync <?include VBoxMergeNetAdp6.wxi ?>
387349b986368264694c1ab64b2914e73f566575vboxsync </Directory>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Directory>
056add8311718c0166b7036b31fd581858a607b3vboxsync<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_SDK" Name="sdk">
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_SDKInstall" Name="install">
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Merge Id="msm_VBoxPython" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergePython)" DiskId="1" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?else ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <Directory Id="msm_VBoxPythonFolder" FileSource=".">
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <?include VBoxMergePython.wxi ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync </Directory>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?endif ?>
09497b70aba5a0dec7f7caf48ac53ea91ec36734vboxsync </Directory>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Directory>
d97357e2036109245c83ba553d0290212e28ea40vboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Set up special directory IDs for referencing to the start menu
056add8311718c0166b7036b31fd581858a607b3vboxsync or the Quick Launch bar.
056add8311718c0166b7036b31fd581858a607b3vboxsync See: http://msdn.microsoft.com/en-us/library/aa368276.aspx
056add8311718c0166b7036b31fd581858a607b3vboxsync http://wix.mindcapers.com/wiki/Shortcuts_in_WiX -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="ProgramMenuFolder">
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_StartMenuVBox" Name="$(env.VBOX_PRODUCT)"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Directory>
80a573ec1c224241824d55a4c1bdb1294618aa96vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="DesktopFolder" Name="Desktop"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="AppDataFolder" Name="AppData">
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_AppDataMicrosoft" Name="Microsoft">
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_AppDataMSIE" Name="Internet Explorer">
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_QuicklaunchFolder" Name="Quick Launch"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Shortcut(s) in start menu -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <Component Id="cp_StartMenuVBox" Guid="C2DC321A-CE63-40EE-8A98-724DF8BD12FB" Win64="$(var.Property_Win64)">
056add8311718c0166b7036b31fd581858a607b3vboxsync <Shortcut Id="sc_StartMenuVBox" Directory="dir_StartMenuVBox" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
056add8311718c0166b7036b31fd581858a607b3vboxsync Target="[INSTALLDIR]VirtualBox.exe" WorkingDirectory="INSTALLDIR"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)"
056add8311718c0166b7036b31fd581858a607b3vboxsync Type="string" Value="installed" KeyPath="yes" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <?include $(env.PATH_TARGET)\Shortcuts_StartMenu.wxi ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Component>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Component Id="cp_DesktopShortcut" Guid="668F8A1A-F5CE-48B3-BB1A-3042EE27B279" Win64="$(var.Property_Win64)">
056add8311718c0166b7036b31fd581858a607b3vboxsync <Condition>VBOX_INSTALLDESKTOPSHORTCUT</Condition>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Shortcut Id="sc_DesktopVBox" Directory="DesktopFolder" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
056add8311718c0166b7036b31fd581858a607b3vboxsync Target="[INSTALLDIR]VirtualBox.exe" WorkingDirectory="INSTALLDIR"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)" Type="string"
056add8311718c0166b7036b31fd581858a607b3vboxsync Value="installed" KeyPath="yes" />
056add8311718c0166b7036b31fd581858a607b3vboxsync </Component>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Component Id="cp_QuickLaunchVBox" Guid="CC19E026-938A-41CB-8E77-3F33296244B6" Win64="$(var.Property_Win64)">
056add8311718c0166b7036b31fd581858a607b3vboxsync <CreateFolder/>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Condition>VBOX_INSTALLQUICKLAUNCHSHORTCUT</Condition>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Shortcut Id="sc_QuickLaunchVBox" Directory="dir_QuicklaunchFolder" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
056add8311718c0166b7036b31fd581858a607b3vboxsync Target="[INSTALLDIR]VirtualBox.exe" WorkingDirectory="INSTALLDIR"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)"
056add8311718c0166b7036b31fd581858a607b3vboxsync Type="string" Value="installed" KeyPath="yes" />
056add8311718c0166b7036b31fd581858a607b3vboxsync </Component>
05434b0f975aee3cb8a4a15b1d79b81407b29a31vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
05434b0f975aee3cb8a4a15b1d79b81407b29a31vboxsync </Directory>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Directory> <!-- TARGETDIR -->
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Note: Feature IDs *must not* be renamed to use any prefixes or such,
056add8311718c0166b7036b31fd581858a607b3vboxsync otherwise this will break manual selection using the ADDLOCAL= syntax
056add8311718c0166b7036b31fd581858a607b3vboxsync when using the command line / scripts (see VBox manual). -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <Feature Id="VBoxApplication" Title="VirtualBox Application" Level="1"
056add8311718c0166b7036b31fd581858a607b3vboxsync Description="!(loc.VB_App)"
056add8311718c0166b7036b31fd581858a607b3vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
056add8311718c0166b7036b31fd581858a607b3vboxsync Absent="disallow" AllowAdvertise="no" >
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <!-- Components which are handled only by this installer itself -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_StartMenuVBox" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_DesktopShortcut" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_QuickLaunchVBox" />
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <!-- Components handled either by the installer itself or
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync the merge module -->
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <MergeRef Id="msm_VBoxApp" />
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <MergeRef Id="msm_VBoxCOM32On64" />
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?endif ?>
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync<?else ?>
c77678ce1e62fb651946423ce3835bc8a7f86b48vboxsync <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <ComponentRef Id="cp_RegisterExtensions" />
c77678ce1e62fb651946423ce3835bc8a7f86b48vboxsync <?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_Docs" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <?endif ?>
46df831b143bedce990fa6ac4a0f706275666b2cvboxsync <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_NLS" />
46df831b143bedce990fa6ac4a0f706275666b2cvboxsync <?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_MainCOM_x86" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <?endif ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_MainCOM" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_MainBinaries" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_QtAccessible" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_VBoxPyInst" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_VBoxPyMod" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_CROGL) = "yes" ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_VBoxCROpenGL" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <?endif ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_VBoxSDLBinaries" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_VBoxWebService" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <?endif ?>
bb6a7f0acaa8d97be266c01bc73328bf61aac11cvboxsync <ComponentRef Id="cp_VBoxCAPI" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_VBoxDrv" />
bb6a7f0acaa8d97be266c01bc73328bf61aac11cvboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Feature Id="VBoxUSB" Title="VirtualBox USB Support" Level="1"
056add8311718c0166b7036b31fd581858a607b3vboxsync Description="!(loc.VB_USBDriver)"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
056add8311718c0166b7036b31fd581858a607b3vboxsync Absent="allow" AllowAdvertise="no" >
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <MergeRef Id="msm_VBoxUSB" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?else ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <ComponentRef Id="cp_USBFilterDriver" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <ComponentRef Id="cp_USBDeviceDriver" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Feature>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Feature Id="VBoxNetwork" Title="VirtualBox Networking" Level="1"
056add8311718c0166b7036b31fd581858a607b3vboxsync Description="!(loc.VB_Network)"
056add8311718c0166b7036b31fd581858a607b3vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
056add8311718c0166b7036b31fd581858a607b3vboxsync Absent="allow" AllowAdvertise="no" >
056add8311718c0166b7036b31fd581858a607b3vboxsync <Feature Id="VBoxNetworkFlt" Title="VirtualBox Bridged Networking" Level="1"
056add8311718c0166b7036b31fd581858a607b3vboxsync Description="!(loc.VB_NetFltDriver)"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync Absent="allow" AllowAdvertise="no" >
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <MergeRef Id="msm_VBoxNetworkFlt" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?else ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <ComponentRef Id="cp_NetFltDriver" />
387349b986368264694c1ab64b2914e73f566575vboxsync <ComponentRef Id="cp_NetLwfDriver" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Feature>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Feature Id="VBoxNetworkAdp" Title="VirtualBox Host-Only Networking" Level="1"
056add8311718c0166b7036b31fd581858a607b3vboxsync Description="!(loc.VB_NetAdpDriver)"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync Absent="allow" AllowAdvertise="no" >
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <MergeRef Id="msm_VBoxNetworkAdp" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?else ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <ComponentRef Id="cp_NetAdpDriver" />
387349b986368264694c1ab64b2914e73f566575vboxsync <ComponentRef Id="cp_NetAdp6Driver" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Feature>
387349b986368264694c1ab64b2914e73f566575vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync </Feature>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Feature Id="VBoxPython" Title="VirtualBox Python 2.x Support" Level="1"
056add8311718c0166b7036b31fd581858a607b3vboxsync Description="!(loc.VB_Python)"
056add8311718c0166b7036b31fd581858a607b3vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
056add8311718c0166b7036b31fd581858a607b3vboxsync Absent="allow" AllowAdvertise="no" >
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <MergeRef Id="msm_VBoxPython" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?else ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <ComponentRef Id="cp_VBoxPythonBinding" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Feature>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Feature>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Include user interface definition -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <?include UserInterface.wxi ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <InstallExecuteSequence>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!--
056add8311718c0166b7036b31fd581858a607b3vboxsync To debug the action sequences, do: "msiexec /i <VBox.msi> /lar <Logfile>"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync InstallUISequence (client side) is:
056add8311718c0166b7036b31fd581858a607b3vboxsync AppSearch
056add8311718c0166b7036b31fd581858a607b3vboxsync LaunchConditions
056add8311718c0166b7036b31fd581858a607b3vboxsync ValidateProductID
056add8311718c0166b7036b31fd581858a607b3vboxsync CostInitialize
056add8311718c0166b7036b31fd581858a607b3vboxsync FileCost
056add8311718c0166b7036b31fd581858a607b3vboxsync CostFinalize
056add8311718c0166b7036b31fd581858a607b3vboxsync ExecuteAction -> will pass control over to "InstallExecuteSequence"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync The first six actions above will be repeated but skipped on the server
056add8311718c0166b7036b31fd581858a607b3vboxsync side if already run on the client side.
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync InstallExecuteSequence (server side) is:
056add8311718c0166b7036b31fd581858a607b3vboxsync <First six action from InstallUISequence>
056add8311718c0166b7036b31fd581858a607b3vboxsync .
056add8311718c0166b7036b31fd581858a607b3vboxsync InstallInitialize
056add8311718c0166b7036b31fd581858a607b3vboxsync .
056add8311718c0166b7036b31fd581858a607b3vboxsync InstallFinalize
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync The actions between InstallInitialize and InstallFinalize will be gone through twice:
056add8311718c0166b7036b31fd581858a607b3vboxsync - The first time the installer creates an installation script containing all actions in the right
056add8311718c0166b7036b31fd581858a607b3vboxsync sequence which need to get executed in a batch later. At this point the launch conditions for
056add8311718c0166b7036b31fd581858a607b3vboxsync custom actions must be met already!
056add8311718c0166b7036b31fd581858a607b3vboxsync - The second time the generated installation script will be run as-is.
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync Also, the InstallUISequence and InstallExecuteSequence tables run in different sessions which
056add8311718c0166b7036b31fd581858a607b3vboxsync need public properties (that is, UPPERCASE properties).
056add8311718c0166b7036b31fd581858a607b3vboxsync -->
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- AppSearch must be done before "RemoveExistingProducts" and before "FindRelatedProducts" -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <AppSearch Sequence="1"></AppSearch>
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <LaunchConditions After="AppSearch" />
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- First install the new version and then remove the old version. This is more efficient -->
0104a9180d9c57d8c618245fbbcd8fc09a629a52vboxsync <RemoveExistingProducts After="InstallValidate"><![CDATA[PREVIOUSVERSIONSINSTALLED OR NEWERVERSIONDETECTED]]></RemoveExistingProducts>
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
05434b0f975aee3cb8a4a15b1d79b81407b29a31vboxsync <Custom Action="ca_OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR)]]></Custom>
05434b0f975aee3cb8a4a15b1d79b81407b29a31vboxsync <Custom Action="ca_DefaultTargetDir" Before="FileCost" ><![CDATA[NOT INSTALLDIR AND EXISTINGINSTALLDIR]]></Custom>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
b4140dd023f9b7ad36a1db5adb76849bda6f8ac3vboxsync <!-- Check + unininstall old TAP instances - we don't need them anymore -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <Custom Action="ca_UninstallTAPInstances" Before="InstallFiles" >1</Custom>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Custom Action="ca_InstallBrandingArgs" Before="ca_InstallBranding" ><![CDATA[NOT REMOVE]]></Custom>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Custom Action="ca_InstallBranding" Before="InstallFinalize" ><![CDATA[NOT REMOVE]]></Custom>
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Uninstall branding on complete uninstall, not on update -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <Custom Action="ca_UninstallBrandingArgs" Before="ca_UninstallBranding" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Custom Action="ca_UninstallBranding" Before="InstallFinalize" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <?include VBoxMergeAppSeq.wxi ?>
53b1d6dd49d0db5d2909169c14d999b23eab0539vboxsync <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
53b1d6dd49d0db5d2909169c14d999b23eab0539vboxsync <?include VBoxMergeCOM32On64Seq.wxi ?>
53b1d6dd49d0db5d2909169c14d999b23eab0539vboxsync <?endif ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergeNetFltSeq.wxi ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <?include VBoxMergeNetLwfSeq.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?endif ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergeNetAdpSeq.wxi ?>
387349b986368264694c1ab64b2914e73f566575vboxsync <?include VBoxMergeNetAdp6Seq.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergeUSBSeq.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergePythonSeq.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?endif ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync<?endif ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync </InstallExecuteSequence>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync </Product>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync</Wix>