VirtualBox.wxs revision b4140dd023f9b7ad36a1db5adb76849bda6f8ac3
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 <?define Property_VBoxMergeUSB = "$(env.VBOX_WIN_INST_MERGE_USB)" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?define Property_VBoxMergeNetworkFlt = "$(env.VBOX_WIN_INST_MERGE_NETFLT)" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?define Property_VBoxMergeNetworkAdp = "$(env.VBOX_WIN_INST_MERGE_NETADP)" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync
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
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
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)" 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
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 <?include VBoxMergeNetFltCA.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergePythonCA.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync<?endif ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <Directory Id="TARGETDIR" Name="SourceDir">
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <Directory Id="$(var.Property_ProgramFiles)" Name="PFiles">
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <Directory Id="INSTALLDIR" Name="$(env.VBOX_PRODUCT)">
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <Merge Id="msm_VBoxApp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeApp)" DiskId="1" />
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync<?else ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergeApp.wxi ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_Drivers" Name="drivers">
056add8311718c0166b7036b31fd581858a607b3vboxsync <Directory Id="dir_USB" Name="USB">
056add8311718c0166b7036b31fd581858a607b3vboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Merge Id="msm_VBoxUSB" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeUSB)" DiskId="1" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?else ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?include VBoxMergeUSB.wxi ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync<?endif ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync </Directory>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <Directory Id="dir_Network" Name="network">
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <Directory Id="dir_NetFlt" Name="netflt">
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <Merge Id="msm_VBoxNetworkFlt" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkFlt)" DiskId="1" />
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <?else ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?include VBoxMergeNetFlt.wxi ?>
b12bc1314a383038ad9554057813840cf638fde9vboxsync <?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync </Directory>
056add8311718c0166b7036b31fd581858a607b3vboxsync<?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 <?include VBoxMergeNetAdp.wxi ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync<?endif ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync </Directory>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
056add8311718c0166b7036b31fd581858a607b3vboxsync<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <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 <?include VBoxMergePython.wxi ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <?endif ?>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync </Directory>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync </Directory>
d97357e2036109245c83ba553d0290212e28ea40vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Set up special directory IDs for referencing to the start menu
056add8311718c0166b7036b31fd581858a607b3vboxsync or the Quick Launch bar.
1147bd0ba1321d92a90514742709a20a244c255bvboxsync See: http://msdn.microsoft.com/en-us/library/aa368276.aspx
056add8311718c0166b7036b31fd581858a607b3vboxsync http://wix.mindcapers.com/wiki/Shortcuts_in_WiX -->
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <Directory Id="ProgramMenuFolder">
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <Directory Id="dir_StartMenuVBox" Name="$(env.VBOX_PRODUCT)"/>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync </Directory>
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <Directory Id="DesktopFolder" Name="Desktop"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <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"/>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Directory>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync </Directory>
056add8311718c0166b7036b31fd581858a607b3vboxsync </Directory>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <!-- Shortcut(s) in start menu -->
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <Component Id="cp_StartMenuVBox" Guid="C2DC321A-CE63-40EE-8A98-724DF8BD12FB" Win64="$(var.Property_Win64)">
0d9b4a74081f0b630334190dfc5091b9d10bba5fvboxsync <Shortcut Id="sc_StartMenuVBox" Directory="dir_StartMenuVBox" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
1147bd0ba1321d92a90514742709a20a244c255bvboxsync Target="[INSTALLDIR]VirtualBox.exe" WorkingDirectory="INSTALLDIR"/>
09497b70aba5a0dec7f7caf48ac53ea91ec36734vboxsync <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)"
056add8311718c0166b7036b31fd581858a607b3vboxsync Type="string" Value="installed" KeyPath="yes" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <?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"
80a573ec1c224241824d55a4c1bdb1294618aa96vboxsync Value="installed" KeyPath="yes" />
056add8311718c0166b7036b31fd581858a607b3vboxsync </Component>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
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)"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Target="[INSTALLDIR]VirtualBox.exe" WorkingDirectory="INSTALLDIR"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)"
056add8311718c0166b7036b31fd581858a607b3vboxsync Type="string" Value="installed" KeyPath="yes" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync </Directory>
056add8311718c0166b7036b31fd581858a607b3vboxsync </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" >
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Components which are handled only by this installer itself -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_StartMenuVBox" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_DesktopShortcut" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_QuickLaunchVBox" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Components handled either by the installer itself or
056add8311718c0166b7036b31fd581858a607b3vboxsync the merge module -->
056add8311718c0166b7036b31fd581858a607b3vboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <MergeRef Id="msm_VBoxApp" />
056add8311718c0166b7036b31fd581858a607b3vboxsync<?else ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_RegisterExtensions" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <ComponentRef Id="cp_Docs" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_NLS" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_MainCOM_x86" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_MainCOM" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_MainBinaries" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_QtAccessible" />
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_VBoxPyInst" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_VBoxPyMod" />
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <?endif ?>
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <?if $(env.VBOX_WITH_CROGL) = "yes" ?>
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <ComponentRef Id="cp_VBoxCROpenGL" />
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?endif ?>
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <ComponentRef Id="cp_VBoxSDLBinaries" />
ff5b73421c77bc2a050f72008be9f3e88814275dvboxsync <?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
7ee1eb709ec02b31f23a8ba734a8795452964633vboxsync <ComponentRef Id="cp_VBoxWebService" />
c77678ce1e62fb651946423ce3835bc8a7f86b48vboxsync <?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <ComponentRef Id="cp_VBoxDrv" />
c77678ce1e62fb651946423ce3835bc8a7f86b48vboxsync <?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <Feature Id="VBoxUSB" Title="VirtualBox USB Support" Level="1"
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync Description="!(loc.VB_USBDriver)"
46df831b143bedce990fa6ac4a0f706275666b2cvboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync Absent="allow" AllowAdvertise="no" >
46df831b143bedce990fa6ac4a0f706275666b2cvboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <MergeRef Id="msm_VBoxUSB" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync<?else ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_USBFilterDriver" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_USBDeviceDriver" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync<?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync </Feature>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <Feature Id="VBoxNetwork" Title="VirtualBox Networking" Level="1"
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync Description="!(loc.VB_Network)"
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync Absent="allow" AllowAdvertise="no" >
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <Feature Id="VBoxNetworkFlt" Title="VirtualBox Bridged Networking" Level="1"
1147bd0ba1321d92a90514742709a20a244c255bvboxsync Description="!(loc.VB_NetFltDriver)"
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync Absent="allow" AllowAdvertise="no" >
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <MergeRef Id="msm_VBoxNetworkFlt" />
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <?else ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync <ComponentRef Id="cp_NetFltDriver" />
bb6a7f0acaa8d97be266c01bc73328bf61aac11cvboxsync <?endif ?>
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync </Feature>
bb6a7f0acaa8d97be266c01bc73328bf61aac11cvboxsync <Feature Id="VBoxNetworkAdp" Title="VirtualBox Host-Only Networking" Level="1"
056add8311718c0166b7036b31fd581858a607b3vboxsync Description="!(loc.VB_NetAdpDriver)"
056add8311718c0166b7036b31fd581858a607b3vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
056add8311718c0166b7036b31fd581858a607b3vboxsync Absent="allow" AllowAdvertise="no" >
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <MergeRef Id="msm_VBoxNetworkAdp" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?else ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <ComponentRef Id="cp_NetAdpDriver" />
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync </Feature>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync </Feature>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync
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" >
056add8311718c0166b7036b31fd581858a607b3vboxsync <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <MergeRef Id="msm_VBoxPython" />
056add8311718c0166b7036b31fd581858a607b3vboxsync <?else ?>
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <ComponentRef Id="cp_VBoxPythonBinding" />
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync </Feature>
056add8311718c0166b7036b31fd581858a607b3vboxsync<?endif ?>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync </Feature>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <!-- Include user interface definition -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?include UserInterface.wxi ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <InstallExecuteSequence>
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <!--
1147bd0ba1321d92a90514742709a20a244c255bvboxsync To debug the action sequences, do: "msiexec /i <VBox.msi> /lar <Logfile>"
056add8311718c0166b7036b31fd581858a607b3vboxsync
1147bd0ba1321d92a90514742709a20a244c255bvboxsync InstallUISequence (client side) is:
1147bd0ba1321d92a90514742709a20a244c255bvboxsync AppSearch
1147bd0ba1321d92a90514742709a20a244c255bvboxsync LaunchConditions
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync ValidateProductID
056add8311718c0166b7036b31fd581858a607b3vboxsync CostInitialize
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync FileCost
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync CostFinalize
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync ExecuteAction -> will pass control over to "InstallExecuteSequence"
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync The first six actions above will be repeated but skipped on the server
056add8311718c0166b7036b31fd581858a607b3vboxsync side if already run on the client side.
056add8311718c0166b7036b31fd581858a607b3vboxsync
1147bd0ba1321d92a90514742709a20a244c255bvboxsync InstallExecuteSequence (server side) is:
1147bd0ba1321d92a90514742709a20a244c255bvboxsync <First six action from InstallUISequence>
1147bd0ba1321d92a90514742709a20a244c255bvboxsync .
1147bd0ba1321d92a90514742709a20a244c255bvboxsync InstallInitialize
1147bd0ba1321d92a90514742709a20a244c255bvboxsync .
056add8311718c0166b7036b31fd581858a607b3vboxsync InstallFinalize
1ab3b6ebbcab4918a5a611bb2f020fc650c70544vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync The actions between InstallInitialize and InstallFinalize will be gone through twice:
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync - 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!
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync - The second time the generated installation script will be run as-is.
056add8311718c0166b7036b31fd581858a607b3vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Also, the InstallUISequence and InstallExecuteSequence tables run in different sessions which
056add8311718c0166b7036b31fd581858a607b3vboxsync need public properties (that is, UPPERCASE properties).
056add8311718c0166b7036b31fd581858a607b3vboxsync -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- AppSearch must be done before "RemoveExistingProducts" and before "FindRelatedProducts" -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <AppSearch Sequence="1"></AppSearch>
056add8311718c0166b7036b31fd581858a607b3vboxsync <LaunchConditions After="AppSearch" />
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- First install the new version and then remove the old version. This is more efficient -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <RemoveExistingProducts After="InstallValidate">PREVIOUSVERSIONSINSTALLED</RemoveExistingProducts>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Custom Action="ca_OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR) AND (NOT EXISTINGINSTALLDIR)]]></Custom>
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <Custom Action="ca_DefaultTargetDir" Before="FileCost" ><![CDATA[NOT Installed AND (NOT INSTALLDIR) AND EXISTINGINSTALLDIR]]></Custom>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Check + unininstall old TAP instances - we don't need them anymore -->
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <Custom Action="ca_UninstallTAPInstances" Before="InstallFiles" >1</Custom>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <Custom Action="ca_InstallBrandingArgs" Before="ca_InstallBranding" ><![CDATA[NOT REMOVE]]></Custom>
056add8311718c0166b7036b31fd581858a607b3vboxsync <Custom Action="ca_InstallBranding" Before="InstallFinalize" ><![CDATA[NOT REMOVE]]></Custom>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync <!-- Uninstall branding on complete uninstall, not on update -->
056add8311718c0166b7036b31fd581858a607b3vboxsync <Custom Action="ca_UninstallBrandingArgs" Before="ca_UninstallBranding" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <Custom Action="ca_UninstallBranding" Before="InstallFinalize" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync<?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?include VBoxMergeAppSeq.wxi ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?include VBoxMergeNetFltSeq.wxi ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync <?include VBoxMergePythonSeq.wxi ?>
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync<?endif ?>
056add8311718c0166b7036b31fd581858a607b3vboxsync
056add8311718c0166b7036b31fd581858a607b3vboxsync </InstallExecuteSequence>
056add8311718c0166b7036b31fd581858a607b3vboxsync
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync </Product>
056add8311718c0166b7036b31fd581858a607b3vboxsync</Wix>
056add8311718c0166b7036b31fd581858a607b3vboxsync