VirtualBox.wxs revision 78f327ee942771169c65c91baf789fd10e72b01a
af062818b47340eef15700d2f0211576ba3506eevboxsync<?xml version="1.0"?>
af062818b47340eef15700d2f0211576ba3506eevboxsync<!--
af062818b47340eef15700d2f0211576ba3506eevboxsync VirtualBox Windows Installation Script (WiX)
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync Copyright (C) 2006-2010 Oracle Corporation
af062818b47340eef15700d2f0211576ba3506eevboxsync
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync This file is part of VirtualBox Open Source Edition (OSE), as
af062818b47340eef15700d2f0211576ba3506eevboxsync available from http://www.virtualbox.org. This file is free software;
af062818b47340eef15700d2f0211576ba3506eevboxsync you can redistribute it and/or modify it under the terms of the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync General Public License (GPL) as published by the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync Foundation, in version 2 as it comes in the "COPYING" file of the
af062818b47340eef15700d2f0211576ba3506eevboxsync VirtualBox OSE distribution. VirtualBox OSE is distributed in the
af062818b47340eef15700d2f0211576ba3506eevboxsync hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
af062818b47340eef15700d2f0211576ba3506eevboxsync-->
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync<?define Property_RegKey ="Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync<?define Property_Version = "$(env.VBOX_VERSION_STRING)" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync<?define Property_Upgrade = "yes" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync<?if $(env.BUILD_TARGET_ARCH) = "amd64" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <?define Property_ProgramFiles = "ProgramFiles64Folder" ?>
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <?define Property_Platform = "x64" ?>
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync <?define Property_Win64 = "yes" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync
912b8dafdda09a31ee01d57d31afc4df96b80218vboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <?define Property_DriverLegacy = "no" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync<?else ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <?define Property_DriverLegacy = "yes" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync<?endif ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync<?else ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <?define Property_ProgramFiles = "ProgramFilesFolder" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <?define Property_Platform = "Intel" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <?define Property_Win64 = "no" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Note: Settings this to 'no' breaks win2k installs (!) -->
af062818b47340eef15700d2f0211576ba3506eevboxsync <?define Property_DriverLegacy = "yes" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync<?else ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <?define Property_DriverLegacy = "yes" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync<?endif ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync<?endif ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync<?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <?define Property_DiskIdCommon = "2" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync<?else ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <?define Property_DiskIdCommon = "1" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync<?endif ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Note: GUIDs in WiX *must* be uppercase! -->
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Always include an upgrade ID or otherwise upgrade installation will not be possible. When doing
af062818b47340eef15700d2f0211576ba3506eevboxsync a major upgrade (more than just fixing a few files) change the product GUID. -->
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Update / Upgrade policies:
af062818b47340eef15700d2f0211576ba3506eevboxsync Update Type Package Code Product Version Product Code Upgrade Code
af062818b47340eef15700d2f0211576ba3506eevboxsync Small update change don't change don't change don't change
af062818b47340eef15700d2f0211576ba3506eevboxsync Minor update change change don't change don't change
af062818b47340eef15700d2f0211576ba3506eevboxsync Major upgrade change change change don't change -->
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Old product ID: <Product Id="B59FE77B-738F-4f1c-AB48-3104895AF676"
af062818b47340eef15700d2f0211576ba3506eevboxsync Old upgrade code of innotek: UpgradeCode="F5FFAEBF-97AE-4038-8F91-4DE719456127" -->
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <Product Id="????????-????-????-????-????????????"
af062818b47340eef15700d2f0211576ba3506eevboxsync UpgradeCode="C4BAD770-BFE8-4D2C-A592-693028A7215B"
af062818b47340eef15700d2f0211576ba3506eevboxsync Name="$(env.VBOX_PRODUCT) $(env.VBOX_VERSION_STRING)"
af062818b47340eef15700d2f0211576ba3506eevboxsync Language="$(loc.LANG)"
af062818b47340eef15700d2f0211576ba3506eevboxsync Codepage="1252"
af062818b47340eef15700d2f0211576ba3506eevboxsync Version="$(var.Property_Version)"
af062818b47340eef15700d2f0211576ba3506eevboxsync Manufacturer="$(env.VBOX_VENDOR)">
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Package GUIDs must be different for each package. The "???" directs WiX to create one. -->
af062818b47340eef15700d2f0211576ba3506eevboxsync <Package Id="????????-????-????-????-????????????" Keywords="Installer"
af062818b47340eef15700d2f0211576ba3506eevboxsync Description="$(env.VBOX_PRODUCT) $(var.Property_Version) installation package"
af062818b47340eef15700d2f0211576ba3506eevboxsync Comments="$(env.VBOX_PRODUCT) installation package"
af062818b47340eef15700d2f0211576ba3506eevboxsync Manufacturer="$(env.VBOX_VENDOR)"
af062818b47340eef15700d2f0211576ba3506eevboxsync InstallerVersion="200"
af062818b47340eef15700d2f0211576ba3506eevboxsync Compressed="yes"
af062818b47340eef15700d2f0211576ba3506eevboxsync InstallPrivileges="elevated"
af062818b47340eef15700d2f0211576ba3506eevboxsync Platforms="$(var.Property_Platform)"/>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- *************************** Upgrade packages only ******************************* -->
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Minimum and Maximum specify the range of versions we are supposed to update with this upgrade.
af062818b47340eef15700d2f0211576ba3506eevboxsync IncludeMaximum and IncludeMinimum specify whether the bound value is actually included in the range or not
af062818b47340eef15700d2f0211576ba3506eevboxsync (IncludeMaximum = yes meaning to find versions below or equal to the version specified in Maximum while
af062818b47340eef15700d2f0211576ba3506eevboxsync IncludeMaximum = no only finds those below the Maximum).
af062818b47340eef15700d2f0211576ba3506eevboxsync OnlyDetect tells the installer not to remove the previous product. This is useful as long as we
af062818b47340eef15700d2f0211576ba3506eevboxsync only change files in the package. -->
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <Upgrade Id="C4BAD770-BFE8-4D2C-A592-693028A7215B"> <!-- Upgrade of Sun xVM VirtualBox >= v1.6.0 -->
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Upgrade is flagged if current-install is newer than or equal to package - TODO: should make a dialog appear asking user to confirm downgrade. -->
af062818b47340eef15700d2f0211576ba3506eevboxsync <!--- Setting "OnlyDetect" to "no" makes the installer uninstall an already newer installed version. -->
af062818b47340eef15700d2f0211576ba3506eevboxsync <UpgradeVersion Property="NEWERVERSIONDETECTED" Minimum="$(var.Property_Version)" OnlyDetect="no" />
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Flag is set if the install will trigger an upgrade of an existing install -->
af062818b47340eef15700d2f0211576ba3506eevboxsync <UpgradeVersion Property="PREVIOUSVERSIONSINSTALLED" Minimum="1.0.0.0" Maximum="$(var.Property_Version)" IncludeMaximum="yes" />
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync </Upgrade>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <Icon Id="vendorvboxicon" src="$(env.VBOX_WINDOWS_ICON_FILE)" />
af062818b47340eef15700d2f0211576ba3506eevboxsync <Property Id="ARPPRODUCTICON">vendorvboxicon</Property>
af062818b47340eef15700d2f0211576ba3506eevboxsync <Property Id="ARPURLINFOABOUT">http://www.virtualbox.org</Property>
af062818b47340eef15700d2f0211576ba3506eevboxsync <Property Id="ARPURLUPDATEINFO">http://www.virtualbox.org</Property>
af062818b47340eef15700d2f0211576ba3506eevboxsync <Property Id="INSTALLDESKTOPSHORTCUT" Value="1"></Property>
af062818b47340eef15700d2f0211576ba3506eevboxsync <Property Id="INSTALLQUICKLAUNCHSHORTCUT" Value="1"></Property>
af062818b47340eef15700d2f0211576ba3506eevboxsync <Property Id="STARTVBOX" Value="1"></Property>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Install the product for all users on the system -->
af062818b47340eef15700d2f0211576ba3506eevboxsync <Property Id="ALLUSERS"><![CDATA[1]]></Property>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Make sure installation will not start on anything other but the NT family -->
af062818b47340eef15700d2f0211576ba3506eevboxsync<?if $(env.BUILD_TARGET_ARCH) = "amd64" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <Condition Message="$(loc.Only64Bit)">
af062818b47340eef15700d2f0211576ba3506eevboxsync VersionNT64
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync </Condition>
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync<?else ?>
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <Condition Message="$(loc.Only32Bit)">
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync NOT VersionNT64
af062818b47340eef15700d2f0211576ba3506eevboxsync </Condition>
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <Condition Message="$(loc.WrongOS)">
af062818b47340eef15700d2f0211576ba3506eevboxsync NOT VersionNT=500 AND NOT Version9X AND NOT VersionNT64
af062818b47340eef15700d2f0211576ba3506eevboxsync </Condition>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync<?endif ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <Condition Message="$(loc.NeedAdmin)">
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync Privileged
8daece1012c8dac65e6b148c77e189161ffc43f1vboxsync </Condition>
46113b5ae4abd2f36a62014a724179e55e5b3f75vboxsync
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync <!-- Force overwriting all files and re-create shortcuts to guarantee a working environment. -->
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync <Property Id='REINSTALLMODE' Value='amus'/>
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Custom actions -->
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Figure out where a previous installation was, if any -->
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync<?if $(env.BUILD_TARGET_ARCH) = "amd64" ?>
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync <CustomAction Id="OriginalTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[ProgramFiles64Folder]\$(env.VBOX_VENDOR_SHORT)\VirtualBox" />
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <Property Id="EXISTINGINSTALLDIR" Secure="yes">
af062818b47340eef15700d2f0211576ba3506eevboxsync <RegistrySearch Id="RegistryGetInstallPath" Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir" Type="raw" Win64="$(var.Property_Win64)"/>
af062818b47340eef15700d2f0211576ba3506eevboxsync </Property>
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="DefaultTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[EXISTINGINSTALLDIR]" />
af062818b47340eef15700d2f0211576ba3506eevboxsync<?else ?>
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync <CustomAction Id="OriginalTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[ProgramFilesFolder]\$(env.VBOX_VENDOR_SHORT)\VirtualBox" />
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <Property Id="EXISTINGINSTALLDIR" Secure="yes">
af062818b47340eef15700d2f0211576ba3506eevboxsync <RegistrySearch Id="RegistryGetInstallPath" Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir" Type="raw" Win64="$(var.Property_Win64)"/>
af062818b47340eef15700d2f0211576ba3506eevboxsync </Property>
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="DefaultTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[EXISTINGINSTALLDIR]" />
5112e32d7072e280613921c982a6672f2c859cf3vboxsync<?endif ?>
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="CheckSerial" BinaryKey="VBoxInstallHelper" DllEntry="CheckSerial" Impersonate="no"/>
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="InstallPythonAPI" BinaryKey="VBoxInstallHelper" DllEntry="InstallPythonAPI" Impersonate="no"/>
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="InstallBranding" BinaryKey="VBoxInstallHelper" DllEntry="InstallBranding" Impersonate="no"/>
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="UninstallBranding" BinaryKey="VBoxInstallHelper" DllEntry="UninstallBranding" Impersonate="no"/>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="UninstallTAPInstances" BinaryKey="VBoxInstallHelper"
af062818b47340eef15700d2f0211576ba3506eevboxsync DllEntry="UninstallTAPInstances" Execute="deferred" Return="check" Impersonate="no"/>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="CreateHostOnlyInterfaceArgs" Property="CreateHostOnlyInterface" Value="[INSTALLDIR]" Execute="immediate"/>
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="CreateHostOnlyInterface" BinaryKey="VBoxInstallHelper" DllEntry="CreateHostOnlyInterface" Execute="deferred" Return="check" Impersonate="no"/>
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="RemoveHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="RemoveHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="InstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/>
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync <CustomAction Id="InstallNetFltArgs" Property="InstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <CustomAction Id="RollbackInstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="rollback" Impersonate="no"/>
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync <CustomAction Id="RollbackInstallNetFltArgs" Property="RollbackInstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <CustomAction Id="UninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/>
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <CustomAction Id="UninstallNetFltArgs" Property="UninstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <CustomAction Id="RollbackUninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="rollback" Impersonate="no"/>
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <CustomAction Id="RollbackUninstallNetFltArgs" Property="RollbackUninstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync<?endif ?>
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsync
0614bee07b5f88aa8803df43fde6d7185a9a7fffvboxsync <CustomAction Id="StartVBox" FileKey="vbox" ExeCommand="" Return="asyncNoWait" Impersonate="yes" />
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsync <!-- Detect old Sun installation. -->
a5f487d264b5aebe8d28ad35d0353630bd2b77cdvboxsync <!-- Force a manual uninstall of an already installed Sun VirtualBox version first. -->
a5f487d264b5aebe8d28ad35d0353630bd2b77cdvboxsync <!--<Property Id="VBOXSUN">
0412c212ede05017a46044b407f58c82374f6fe4vboxsync <RegistrySearch Id="RegSearchSunVersion" Root="HKLM" Key="SOFTWARE\Sun\VirtualBox" Name="Version" Type="raw" Win64="$(var.Property_Win64)"/>
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync </Property>
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync <Condition Message="$(loc.SunFound)">
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync NOT VBOXSUN
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync </Condition>-->
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync <!-- Detect old innotek installation. -->
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <!-- Force a manual uninstall of an already installed innotek VirtualBox version first. -->
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync <Property Id="VBOXINNOTEK">
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsync <RegistrySearch Id="RegSearchInnotekVersion" Root="HKLM" Key="SOFTWARE\Innotek\VirtualBox" Name="Version" Type="raw" Win64="$(var.Property_Win64)"/>
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsync </Property>
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsync <Condition Message="$(loc.InnotekFound)">
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsync NOT VBOXINNOTEK
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsync </Condition>
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync
0614bee07b5f88aa8803df43fde6d7185a9a7fffvboxsync <Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
af062818b47340eef15700d2f0211576ba3506eevboxsync<?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <Media Id="2" Cabinet="common.cab" EmbedCab="no" CompressionLevel="mszip" />
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync<?endif ?>
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Here comes the file/directory list. -->
af062818b47340eef15700d2f0211576ba3506eevboxsync <Directory Id="TARGETDIR" Name="SourceDir">
af062818b47340eef15700d2f0211576ba3506eevboxsync <Directory Id="$(var.Property_ProgramFiles)" Name="PFiles">
af062818b47340eef15700d2f0211576ba3506eevboxsync <Directory Id="INSTALLDIR" Name="VirtualB" LongName="$(env.VBOX_PRODUCT)">
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync<?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <Directory Id="documents" Name="doc">
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync <!-- The documentation is a separate component. This allows to split the install process
8daece1012c8dac65e6b148c77e189161ffc43f1vboxsync into pieces if ever necessary. Maintanance is easier, too. The following component
46113b5ae4abd2f36a62014a724179e55e5b3f75vboxsync will be installed in the "doc" folder. -->
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync <Component Id="docs" Guid="40BD12C5-89A8-4B81-8A5E-5EEE2C2763C4">
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync <?include $(env.PATH_TARGET)\Files_Doc.wxi ?>
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync </Component>
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync </Directory>
af062818b47340eef15700d2f0211576ba3506eevboxsync<?endif ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <!-- Device driver directory -->
af062818b47340eef15700d2f0211576ba3506eevboxsync <Directory Id="drivers" Name="drivers">
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync <Directory Id="vboxdrv" Name="vboxdrv">
af062818b47340eef15700d2f0211576ba3506eevboxsync <Component Id="VBoxDrv" Guid="D3E2F2BB-569F-46A2-836C-BDF30FF1EDF8"
af062818b47340eef15700d2f0211576ba3506eevboxsync DriverSequence="2" DriverLegacy="$(var.Property_DriverLegacy)" DriverForceInstall="yes"
af062818b47340eef15700d2f0211576ba3506eevboxsync DriverAddRemovePrograms="no" DriverPlugAndPlayPrompt="no" Win64="$(var.Property_Win64)">
af062818b47340eef15700d2f0211576ba3506eevboxsync <File Id="vboxdrvsys" Name="VBoxDrv.sys" DiskId="1" Vital="yes" KeyPath="yes"
af062818b47340eef15700d2f0211576ba3506eevboxsync Source="$(env.PATH_OUT)\bin\VBoxDrv.sys"/>
af062818b47340eef15700d2f0211576ba3506eevboxsync <File Id="vboxdrvinf" Name="VBoxDrv.inf" DiskId="1" Vital="yes"
af062818b47340eef15700d2f0211576ba3506eevboxsync Source="$(env.PATH_OUT)\bin\VBoxDrv.inf" />
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
af062818b47340eef15700d2f0211576ba3506eevboxsync <File Id="vboxdrvcat" Name="VBoxDrv.cat" DiskId="1" Vital="yes"
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync Source="$(env.PATH_OUT)\bin\VBoxDrv.cat" />
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync<?endif ?>
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync </Component> <!-- Directory "drivers\vboxdrv" -->
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync </Directory>
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <Directory Id="usbdrv" Name="USB">
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <Directory Id="usbfilter" Name="filter">
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <Component Id="USBFilterDriver" Guid="B7D782D2-96DF-4775-A0E1-A76CF7B04B65"
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync DriverSequence="0" DriverLegacy="$(var.Property_DriverLegacy)" DriverForceInstall="yes"
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync DriverAddRemovePrograms="no" DriverPlugAndPlayPrompt="no" Win64="$(var.Property_Win64)">
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <File Id="vboxusbmon" Name="VBoxUSBM.sys" LongName="VBoxUSBMon.sys" DiskId="1" Vital="yes"
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync Source="$(env.PATH_OUT)\bin\VBoxUSBMon.sys" />
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync <File Id="vboxusbmoninf" Name="VBoxUSBM.inf" LongName="VBoxUSBMon.inf" DiskId="1" Vital="yes"
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync Source="$(env.PATH_OUT)\bin\VBoxUSBMon.inf" />
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync <File Id="vboxusbmoncat" Name="VBoxUSBM.cat" LongName="VBoxUSBMon.cat" DiskId="1" Vital="yes"
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync Source="$(env.PATH_OUT)\bin\VBoxUSBMon.cat" />
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync<?endif ?>
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync </Component> <!-- USBFilterDriver -->
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync </Directory> <!-- Directory "drivers\usb\filter" -->
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync <Directory Id="usbdevice" Name="device">
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync <Component Id="USBDeviceDriver" Guid="010FE46A-E358-43E2-8BDC-38BC8BEC82E0"
46113b5ae4abd2f36a62014a724179e55e5b3f75vboxsync DriverSequence="0" DriverLegacy="$(var.Property_DriverLegacy)" DriverForceInstall="yes"
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync DriverAddRemovePrograms="no" DriverPlugAndPlayPrompt="no" Win64="$(var.Property_Win64)">
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync <File Id="vboxusbdrv" Name="VBoxUSB.sys" DiskId="1" Vital="yes"
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync Source="$(env.PATH_OUT)\bin\VBoxUSB.sys" />
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync <File Id="vboxusbinf" Name="VBoxUSB.inf" DiskId="1" Vital="yes"
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync Source="$(env.PATH_OUT)\bin\VBoxUSB.inf" />
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync <File Id="vboxusbcat" Name="VBoxUSB.cat" DiskId="1" Vital="yes"
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync Source="$(env.PATH_OUT)\bin\VBoxUSB.cat" />
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync<?endif ?>
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync </Component> <!-- USBDeviceDriver -->
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync </Directory> <!-- Directory "drivers\usb\device" -->
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync </Directory> <!-- Directory "drivers\usb" -->
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync <Directory Id="network" Name="network">
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync <Directory Id="NetFltDir" Name="netflt">
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync <Component Id="NetFltDriver" Guid="F0A02F6B-A349-42f8-A2EB-569DCAAAF846" Win64="$(var.Property_Win64)">
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync <File Id="vboxnetfltsys" Name="VBoxNFlt.sys" LongName="VBoxNetFlt.sys" DiskId="1" Vital="yes" KeyPath="yes"
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync Source="$(env.PATH_OUT)\bin\VBoxNetFlt.sys"
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync Checksum="yes"/>
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync <File Id="vboxnetfltnotifydll" Name="VBoxNFN.dll" LongName="VBoxNetFltNotify.dll" DiskId="1" Vital="yes"
c956475d30580345549e914629db5a9535a01bfbvboxsync Source="$(env.PATH_OUT)\bin\VBoxNetFltNotify.dll"
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync Checksum="yes"/>
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync <File Id="vboxnetfltinf" Name="VBoxNFlt.inf" LongName="VBoxNetFlt.inf" DiskId="1" Vital="yes"
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetFlt.inf" />
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <File Id="vboxnetfltcat" Name="VBoxNFlt.cat" LongName="VBoxNetFlt.cat" DiskId="1" Vital="yes"
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetFlt.cat" />
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync<?endif ?>
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <File Id="vboxnetflt_minf" Name="VBoxNFlM.inf" LongName="VBoxNetFlt_m.inf" DiskId="1" Vital="yes"
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetFlt_m.inf" />
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsync </Component>
0614bee07b5f88aa8803df43fde6d7185a9a7fffvboxsync </Directory> <!-- Directory "drivers\network\netflt" -->
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <Directory Id="NetAdpDir" Name="netadp">
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsync <Component Id="NetAdpDriver" Guid="7adf3e12-af3c-4d36-8bec-36d5064cf84f" Win64="$(var.Property_Win64)">
a5f487d264b5aebe8d28ad35d0353630bd2b77cdvboxsync <File Id="vboxnetadpsys" Name="VBoxNAdp.sys" LongName="VBoxNetAdp.sys" DiskId="1" Vital="yes" KeyPath="yes"
a5f487d264b5aebe8d28ad35d0353630bd2b77cdvboxsync Source="$(env.PATH_OUT)\bin\VBoxNetAdp.sys"
0412c212ede05017a46044b407f58c82374f6fe4vboxsync Checksum="yes"/>
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <File Id="vboxnetadpinf" Name="VBoxNAdp.inf" LongName="VBoxNetAdp.inf" DiskId="1" Vital="yes"
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync Source="$(env.PATH_OUT)\bin\VBoxNetAdp.inf" />
6decafdf89f825b3af922ab6fa02345e08e5be7bvboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <File Id="vboxnetadpcat" Name="VBoxNAdp.cat" LongName="VBoxNetAdp.cat" DiskId="1" Vital="yes"
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetAdp.cat" />
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync<?endif ?>
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsync </Component> <!-- NetAdpDriver -->
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsync </Directory> <!-- Directory "drivers\network\netadp" -->
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync </Directory> <!-- Directory "drivers\network" -->
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync<?endif ?>
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync </Directory> <!-- Directory "drivers" -->
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync <!-- National Language Support directory -->
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync <Directory Id="nls" Name="nls">
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <Component Id="nls" Guid="D63517D7-1CF3-4D06-B3EE-C561E323069B">
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsync <!-- Include the autogenerated NLS file list -->
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsync <?include $(env.PATH_TARGET)\VBoxGuiNLS.wxi ?>
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsync </Component>
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsync </Directory>
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsync
0614bee07b5f88aa8803df43fde6d7185a9a7fffvboxsync <!-- COM components have a separate entry mainly because of the KeyPath attribute (that hints the
0614bee07b5f88aa8803df43fde6d7185a9a7fffvboxsync TypeLib element where to take the TLB resource from) may appear only once per Component. -->
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <Component Id="MainCOM" Guid="CD4A3C6C-C2D5-428D-90A1-B6DA3D0777D6" Win64="$(var.Property_Win64)">
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <File Id="VBoxSVC" Name="VBoxSVC.exe" DiskId="1" Vital="yes"
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync Source="$(env.PATH_OUT)\bin\VBoxSVC.exe">
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync </File>
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync <!-- We set KeyPath on this file to instruct TypeLib to read the TLB resource from it
ce7f3a54dfbfd6e58e1b3b1a8c7749628d408bfevboxsync and create appropriate Interface registry entries. Note that the same TLB is present
ce7f3a54dfbfd6e58e1b3b1a8c7749628d408bfevboxsync in VBoxSVC.exe - it's just a matter of choice which one to use -->
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <File Id="VBoxC" Name="VBoxC.dll" DiskId="1" Vital="yes"
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync Source="$(env.PATH_OUT)\bin\VBoxC.dll"
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync KeyPath="yes">
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync </File>
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <!-- Include the autogenerated TypeLib block -->
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <?include $(env.PATH_TARGET)\VirtualBox_TypeLib.wxi ?>
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync </Component>
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <Component Id="DesktopShortcut" Guid="668F8A1A-F5CE-48B3-BB1A-3042EE27B279" Win64="$(var.Property_Win64)">
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <Condition>INSTALLDESKTOPSHORTCUT</Condition>
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync <CreateFolder/>
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync <Shortcut Id="VBoxDesktopShortcut" Directory="DesktopFolder"
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync Name="VBox" LongName="$(env.VBOX_PRODUCT)" WorkingDirectory="INSTALLDIR"
ce7f3a54dfbfd6e58e1b3b1a8c7749628d408bfevboxsync Advertise="no" Target="[#vbox]" />
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync </Component>
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <Component Id="QuicklaunchShortcut" Guid="CC19E026-938A-41CB-8E77-3F33296244B6" Win64="$(var.Property_Win64)">
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <Condition>INSTALLQUICKLAUNCHSHORTCUT</Condition>
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync <CreateFolder/>
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <Shortcut Id="VBoxQuicklaunchShortcut" Directory="QuicklaunchFolder"
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync Name="VBox" LongName="$(env.VBOX_PRODUCT)" WorkingDirectory="INSTALLDIR"
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync Advertise="no" Target="[#vbox]" />
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync </Component>
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync
d2432596ad0325b8a9b42552ce4fcd251f37fcc3vboxsync <!-- All Binaries, DLLs (except COM) and drivers are in one component because they belong together. Additional
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync binaries e.g. test tools, utilities etc. should be in another component so they"re clearly separated. -->
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync <Component Id="MainBinaries" Guid="5C8FE57A-F744-4DE0-AA3F-A563F486AD98" Win64="$(var.Property_Win64)">
<!-- Set required environment variables. -->
<Environment Id="EnvVBoxInstallDir" Action="set" Name="VBOX_INSTALL_PATH"
System="yes" Part="last" Permanent="no" Value="[INSTALLDIR]" />
<!-- The "Name" attribute must always be present. If the name is longer than 8.3 the additional "LongName"
attribute can be used. -->
<File Id="vbox" Name="vbox.exe" LongName="VirtualBox.exe" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VirtualBox.exe">
<!-- The target folder for the shortcut in the "Programs" menu is defined below. -->
<Shortcut Id="startmenuVBox" Directory="ProgramMenuDir" Name="VBox"
LongName="VirtualBox" WorkingDirectory="INSTALLDIR"/>
</File>
<?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
<!-- Include all user manual .CHM files (file is generated by makefile). -->
<?include $(env.PATH_TARGET)\Files_Main.wxi ?>
<?endif ?>
<!-- Include all license files (file is generated by makefile). -->
<?include $(env.PATH_TARGET)\Files_License.wxi ?>
<?if $(env.VBOX_WITH_DEBUGGER_GUI) = "yes" ?>
<File Id="vboxdbgdll" Name="VBoxDbg.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxDbg.dll" />
<?endif ?>
<File Id="vboxmanage" Name="VBoxMan.exe" LongName="VBoxManage.exe" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxManage.exe" />
<File Id="vboxheadless" Name="VBoxHead.exe" LongName="VBoxHeadless.exe" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxHeadless.exe">
<!-- Create a simple shortcut for VBoxVRDP, which is not present anymore, pointing to VBoxHeadless.exe -->
<Shortcut Id="ShortcutVBoxVRDP" Directory="INSTALLDIR" Name="VBoxVRDP" Show="normal" WorkingDirectory="INSTALLDIR"/>
</File>
<File Id="vboxnetdhcp" Name="VBoxDHCP.exe" LongName="VBoxNetDHCP.exe" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxNetDHCP.exe"/>
<!-- VBox DLL files -->
<File Id="vboxdddll" Name="VBoxDD.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxDD.dll" />
<File Id="vboxdd2dll" Name="VBoxDD2.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxDD2.dll" />
<File Id="vboxddudll" Name="VBoxDDU.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxDDU.dll" />
<File Id="vboxrtdll" Name="VBoxRT.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxRT.dll" />
<File Id="vboxremdll" Name="VBoxREM.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxREM.dll" />
<?if $(env.BUILD_TARGET_ARCH) = "amd64" ?>
<File Id="vboxrem2rel" Name="VBoxREM2.rel" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxREM2.rel" />
<?else ?>
<File Id="vboxrem32dll" Name="VBoxREM3.dll" LongName="VBoxREM32.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxREM32.dll" />
<File Id="vboxrem64dll" Name="VBoxREM6.dll" LongName="VBoxREM64.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxREM64.dll" />
<?endif ?>
<File Id="vboxvmmdll" Name="VBoxVMM.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxVMM.dll" />
<File Id="vboxvrdpdll" Name="VBoxVRDP.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxVRDP.dll" />
<File Id="vboxshfolderdll" Name="VBoxSF.dll" LongName="VBoxSharedFolders.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxSharedFolders.dll" />
<File Id="vboxshclpbrddll" Name="VBoxClip.dll" LongName="VBoxSharedClipboard.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxSharedClipboard.dll" />
<?if $(env.VBOX_WITH_GUEST_PROPS) = "yes" ?>
<File Id="vboxguestpropdll" Name="VBoxProp.dll" LongName="VBoxGuestPropSvc.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxGuestPropSvc.dll" />
<?endif ?>
<?if $(env.VBOX_WITH_GUEST_CONTROL) = "yes" ?>
<File Id="vboxguestctrldll" Name="VBoxCtrl.dll" LongName="VBoxGuestControlSvc.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxGuestControlSvc.dll" />
<?endif ?>
<File Id="vrdpauthdll" Name="VRDPAuth.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VRDPAuth.dll" />
<File Id="vrdpauthsimpledll" Name="VRDPASim.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VRDPAuthSimple.dll" />
<File Id="vmmgc" Name="VMMGC.gc" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VMMGC.gc" />
<File Id="vboxddgc" Name="VBoxDDGC.gc" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxDDGC.gc" />
<File Id="vboxdd2gc" Name="VBoxDD2.gc" LongName="VBoxDD2GC.gc" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxDD2GC.gc" />
<File Id="vmmr0" Name="VMMR0.r0" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VMMR0.r0" />
<File Id="vboxddr0" Name="VBoxDDR0.r0" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxDDR0.r0" />
<File Id="vboxdd2r0" Name="VBDD2R0.r0" LongName="VBoxDD2R0.r0" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxDD2R0.r0" />
<?if $(env.VBOX_WITH_CROGL) = "yes" ?>
<File Id="vboxtestogl" Name="VBTstOGL.exe" LongName="VBoxTestOGL.exe" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxTestOGL.exe" />
<?endif ?>
<!-- Qt stuff -->
<File Id="qtcore4dll" Name="QtCrVBx4.dll" LongName="QtCoreVBox4.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\QtCoreVBox4.dll" />
<File Id="qtgui4dll" Name="QtGuVbx4.dll" LongName="QtGuiVBox4.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\QtGuiVBox4.dll" />
<File Id="qtnetwork4dll" Name="QtNwVBx4.dll" LongName="QtNetworkVBox4.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\QtNetworkVBox4.dll" />
<?if $(env.VBOX_GUI_USE_QGL) = "yes" ?>
<File Id="qtopengl4dll" Name="QtGlVBx4.dll" LongName="QtOpenGLVBox4.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\QtOpenGLVBox4.dll" />
<?endif?>
<?if $(env.VBOX_USE_VCC80) = "yes" ?>
<!-- MS v8 Runtime DLL files (private assembly) -->
<File Id="vc80crtmft" Name="VC80CRT.mft" LongName="Microsoft.VC80.CRT.manifest" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest" />
<File Id="msvcr80dll" Name="msvcr80.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\Microsoft.VC80.CRT\msvcr80.dll" />
<File Id="msvcp80dll" Name="msvcp80.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\Microsoft.VC80.CRT\msvcp80.dll" />
<?endif?>
<!-- MS v7 Runtime DLL files -->
<?if $(env.VBOX_USE_VCC80) != "yes" ?>
<File Id="msvcpdll" Name="msvcp71.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\msvcp71.dll" />
<File Id="msvcrtdll" Name="msvcrt.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\msvcrt.dll" />
<?endif?>
<?if $(env.BUILD_TARGET_ARCH) != "amd64" ?>
<File Id="msvcrdll" Name="msvcr71.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\msvcr71.dll" />
<?endif?>
<!-- EFI firmware -->
<?if $(env.VBOX_WITH_EFIFW_PACKING) = "yes" ?>
<?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
<File Id="vboxefifd32" LongName="VBoxEFI32.fd" Name="efi32.fd" DiskId="2" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxEFI32.fd" />
<File Id="vboxefifd64" LongName="VBoxEFI64.fd" Name="efi64.fd" DiskId="2" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxEFI64.fd" />
<?else ?>
<File Id="vboxefifd32" LongName="VBoxEFI32.fd" Name="efi32.fd" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxEFI32.fd" />
<File Id="vboxefifd64" LongName="VBoxEFI64.fd" Name="efi64.fd" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxEFI64.fd" />
<?endif ?>
<?endif?>
<!-- VBox guest additions -->
<?if $(env.VBOX_WITH_ADDITIONS_PACKING) = "yes" ?>
<?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
<File Id="VBoxGuestAdditions.iso" Name="VBoxAdd.iso" LongName="VBoxGuestAdditions.iso" DiskId="2" Vital="yes"
Source="$(env.PATH_MULTIARCH_GUEST_ADDITIONS_ISO)\VBoxGuestAdditions.iso" />
<?else ?>
<File Id="vboxguest" Name="VBoxAdd.iso" LongName="VBoxGuestAdditionsiso" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\additions\VBoxGuestAdditions.iso" />
<?endif ?>
<?endif ?>
<!-- Include key for VBox version -->
<?include $(env.PATH_TARGET)\VBoxKey.wxi ?>
</Component> <!-- MainBinaries -->
<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
<!-- Qt accessible plugins -->
<Directory Id="accessible" Name="accessbl" LongName="accessible">
<Component Id="qtaccessible" Guid="12040EF9-D4A8-4FB2-A69C-CA2F5C354A45">
<File Id="qtaccessibleplugindll" Name="qtacsw4.dll" LongName="qtaccessiblewidgets4.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\accessible\qtaccessiblewidgets4.dll" />
</Component>
</Directory> <!-- Qt accessible plugins -->
<?endif?>
<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
<!-- Python bindings -->
<Directory Id="sdk" Name="sdk">
<Directory Id="installer" Name="install">
<Component Id="VBoxPyInst" Guid="C9A40306-5102-11DE-A7BA-C3C555D89593">
<File Id="vboxapisetup" Name="pysetup.py" LongName="vboxapisetup.py" DiskId="$(var.Property_DiskIdCommon)" Vital="yes"
Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapisetup.py" />
</Component>
<Directory Id="vboxapi" Name="vboxapi">
<Component Id="VBoxPyMod" Guid="DF19CB76-5102-11DE-943B-13C755D89593">
<File Id="__init__.py" Name="__init__.py" DiskId="$(var.Property_DiskIdCommon)" Vital="yes"
Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\__init__.py" />
<File Id="VirtualBox_constants.py" Name="vbconst.py" LongName="VirtualBox_constants.py" DiskId="$(var.Property_DiskIdCommon)" Vital="yes"
Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\VirtualBox_constants.py" />
</Component>
</Directory>
</Directory>
</Directory>
<!-- Python bindings -->
<?endif?>
<?if $(env.VBOX_WITH_CROGL) = "yes" ?>
<Component Id="VBoxCROpenGL" Guid="874A1297-835A-491D-8A9D-7E723BC29EE7" Win64="$(var.Property_Win64)">
<File Id="vboxoglhostcrutil" Name="VbGlHCRU.dll" LongName="VBoxOGLhostcrutil.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxOGLhostcrutil.dll" />
<File Id="vboxoglhosterrorspu" Name="VbGlHers.dll" LongName="VBoxOGLhosterrorspu.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxOGLhosterrorspu.dll" />
<File Id="vboxoglrenderspu" Name="VbGlRndr.dll" LongName="VBoxOGLrenderspu.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxOGLrenderspu.dll" />
<File Id="vboxsharedcropengl" Name="VbShCRGL.dll" LongName="VBoxSharedCrOpenGL.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxSharedCrOpenGL.dll" />
</Component>
<?endif?>
<!-- SDL plugins -->
<Component Id="VBoxSDLBinaries" Guid="F09D5FD9-E176-42B0-90A9-481BB18B0CB4" Win64="$(var.Property_Win64)">
<File Id="vboxsdl" Name="VBoxSDL.exe" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\VBoxSDL.exe" />
<File Id="sdldll" Name="SDL.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\SDL.dll" />
<!-- todo: make the sdlttf available as an env var instead of this hack -->
<?if $(env.BUILD_TARGET_ARCH) != "amd64" ?>
<File Id="sdlttfdll" Name="SDL_ttf.dll" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\SDL_ttf.dll" />
<?endif?>
</Component> <!-- SDL plugins -->
<?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
<!-- Webservice -->
<Component Id="VBoxWebService" Guid="DD404F04-9874-43E9-AEE2-7762924D922E">
<File Id="vboxweb" Name="vboxwebs.exe" LongName="vboxwebsrv.exe" DiskId="1" Vital="yes"
Source="$(env.PATH_OUT)\bin\vboxwebsrv.exe" />
</Component> <!-- Webservice -->
<?endif?>
<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
<!--Python -->
<Component Id="VBoxPythonBinding" Guid="293D7E11-78DA-4C31-AEED-AE2FE42F6881">
<Condition>PYTHONINSTALLED</Condition>
<!-- Nothing in here yet. -->
</Component>
<?endif?>
</Directory> <!-- Installation directory -->
</Directory> <!-- Windows program files directory -->
<!-- Create a subdirectory in the "Programs" start menu -->
<Directory Id="ProgramMenuFolder" Name="PMenu" LongName="Programs">
<Directory Id="ProgramMenuDir" Name="vbox" LongName="$(env.VBOX_PRODUCT)" />
</Directory>
<Directory Id="DesktopFolder" Name="Desktop" />
<Directory Id="AppDataFolder" Name="AppData">
<Directory Id="AppDataMicrosoft" Name="MS" LongName="Microsoft">
<Directory Id="AppDataMSIE" Name="IE" LongName="Internet Explorer">
<Directory Id="QuicklaunchFolder" Name="QL" LongName="Quick Launch"/>
</Directory>
</Directory>
</Directory>
</Directory>
<Feature Id="VBoxApplication" Title="VirtualBox Application" Level="1"
Description="$(loc.VB_App)"
ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
Absent="disallow">
<ComponentRef Id="DesktopShortcut" />
<ComponentRef Id="QuicklaunchShortcut" />
<?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
<ComponentRef Id="docs" />
<?endif?>
<ComponentRef Id="nls" />
<ComponentRef Id="MainCOM" />
<ComponentRef Id="MainBinaries" />
<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
<ComponentRef Id="qtaccessible" />
<?endif?>
<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
<ComponentRef Id="VBoxPyInst" />
<ComponentRef Id="VBoxPyMod" />
<?endif?>
<?if $(env.VBOX_WITH_CROGL) = "yes" ?>
<ComponentRef Id="VBoxCROpenGL" />
<?endif?>
<ComponentRef Id="VBoxSDLBinaries" />
<?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
<ComponentRef Id="VBoxWebService" />
<?endif?>
<ComponentRef Id="VBoxDrv" />
<Feature Id="VBoxUSB" Title="VirtualBox USB Support" Level="1"
Description="$(loc.VB_USBDriver)"
ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" >
<ComponentRef Id="USBFilterDriver" />
<ComponentRef Id="USBDeviceDriver" />
</Feature>
<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
<Feature Id="VBoxNetwork" Title="VirtualBox Networking" Level="1"
Description="$(loc.VB_Network)"
ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" >
<Feature Id="VBoxNetworkFlt" Title="VirtualBox Bridged Networking" Level="1"
Description="$(loc.VB_NetFltDriver)"
ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" >
<ComponentRef Id="NetFltDriver" />
</Feature>
<Feature Id="VBoxNetworkAdp" Title="VirtualBox Host-Only Networking" Level="1"
Description="$(loc.VB_NetAdpDriver)"
ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" >
<ComponentRef Id="NetAdpDriver" />
</Feature>
</Feature>
<?endif?>
<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
<Feature Id="VBoxPython" Title="VirtualBox Python Support" Level="1"
Description="$(loc.VB_Python)"
ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" >
<ComponentRef Id="VBoxPythonBinding" />
</Feature>
<?endif?>
</Feature>
<!-- Include user interface definition. -->
<?include UserInterface.wxi ?>
<InstallExecuteSequence>
<!-- AppSearch must be done before "RemoveExistingProducts" and before "FindRelatedProducts". -->
<AppSearch Sequence="1"></AppSearch>
<LaunchConditions After="AppSearch" />
<RemoveExistingProducts After="InstallValidate"><![CDATA[NEWERVERSIONDETECTED OR PREVIOUSVERSIONSINSTALLED]]></RemoveExistingProducts>
<Custom Action="OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR) AND (NOT EXISTINGINSTALLDIR)]]></Custom>
<Custom Action="DefaultTargetDir" Before="FileCost" ><![CDATA[NOT Installed AND (NOT INSTALLDIR) AND EXISTINGINSTALLDIR]]></Custom>
<Custom Action="UninstallTAPInstances" Before="InstallFiles" >1</Custom>
<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
<Custom Action="CreateHostOnlyInterfaceArgs" Before="CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3]]></Custom>
<Custom Action="CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3]]></Custom>
<Custom Action="RemoveHostOnlyInterfaces" After="UninstallNetFlt" ></Custom>
<Custom Action="RollbackInstallNetFltArgs" Before="RollbackInstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
<Custom Action="RollbackInstallNetFlt" Before="InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
<Custom Action="InstallNetFltArgs" Before="InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
<Custom Action="InstallNetFlt" Before="CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
<Custom Action="RollbackUninstallNetFltArgs" Before="RollbackUninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
<Custom Action="RollbackUninstallNetFlt" Before="UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
<Custom Action="UninstallNetFltArgs" Before="UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
<Custom Action="UninstallNetFlt" After="InstallInitialize" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
<?endif?>
<Custom Action="InstallPythonAPI" After="InstallFinalize" ><![CDATA[&VBoxPython=3]]></Custom>
<Custom Action="InstallBranding" After="InstallFinalize" ><![CDATA[NOT REMOVE]]></Custom>
<Custom Action="UninstallBranding" After="InstallFinalize" ><![CDATA[REMOVE]]></Custom>
</InstallExecuteSequence>
</Product>
</Wix>