VirtualBox.wxs revision 80335d1c08a501abd1a1ab50cd2b956f00df3e18
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd VirtualBox Windows Installation Script (WiX)
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd Copyright (C) 2006-2011 Oracle Corporation
a945f35eff8b6a88009ce73de6d4c862ce58de3cslive This file is part of VirtualBox Open Source Edition (OSE), as
a945f35eff8b6a88009ce73de6d4c862ce58de3cslive available from http://www.virtualbox.org. This file is free software;
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd you can redistribute it and/or modify it under the terms of the GNU
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc General Public License (GPL) as published by the Free Software
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd Foundation, in version 2 as it comes in the "COPYING" file of the
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd VirtualBox OSE distribution. VirtualBox OSE is distributed in the
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<?define Property_RegKey = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox" ?>
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd<?define Property_RegKeyInstall = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox\Install" ?>
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd<?define Property_Version = "$(env.VBOX_VERSION_STRING_RAW)" ?>
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd<?define Property_VersionExt = "$(env.VBOX_VERSION_STRING)" ?>
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd <?define Property_ProgramFiles = "ProgramFiles64Folder" ?>
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd <!-- Note: Settings this to 'no' breaks win2k installs (!) -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive<!-- If we build a combined installer (32- and 64-bit in one installer), we
06ba4a61654b3763ad65f52283832ebf058fdf1cslive use two installer "disks": One for all platform-specific stuff and one which
06ba4a61654b3763ad65f52283832ebf058fdf1cslive contains all common (platform independent) stuff (like manuals, bitmaps etc). -->
c44eeebd065e2c8cd028016b45c58afb480aaf8fdruggeri<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
c44eeebd065e2c8cd028016b45c58afb480aaf8fdruggeri xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd <!-- Note: GUIDs in WiX *must* be uppercase! -->
53bae66d3dc14a667e14a451f7bc65a893dd450fnd <!-- Always include an upgrade ID or otherwise upgrade installation will not be possible. When doing
06ba4a61654b3763ad65f52283832ebf058fdf1cslive a major upgrade (more than just fixing a few files) change the product GUID. -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Update / Upgrade policies:
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Update Type Package Code Product Version Product Code Upgrade Code
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Small update change don't change don't change don't change
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Minor update change change don't change don't change
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Major upgrade change change change don't change -->
9bcfc3697a91b5215893a7d0206865b13fc72148nd <!-- Old product ID: <Product Id="B59FE77B-738F-4f1c-AB48-3104895AF676"
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Old upgrade code of innotek: UpgradeCode="F5FFAEBF-97AE-4038-8F91-4DE719456127" -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive UpgradeCode="C4BAD770-BFE8-4D2C-A592-693028A7215B"
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Language="!(loc.LANG)"
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Codepage="1252"
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Manufacturer="$(env.VBOX_VENDOR)">
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Package GUIDs must be different for each package. The "???" directs WiX to create one. -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) installation package"
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Comments="$(env.VBOX_PRODUCT) installation package"
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Manufacturer="$(env.VBOX_VENDOR)"
06ba4a61654b3763ad65f52283832ebf058fdf1cslive InstallerVersion="200"
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Compressed="yes"
06ba4a61654b3763ad65f52283832ebf058fdf1cslive InstallPrivileges="elevated"
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Platform="$(var.Property_Platform)"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- *************************** Upgrade packages only ******************************* -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Minimum and Maximum specify the range of versions we are supposed to update with this upgrade.
06ba4a61654b3763ad65f52283832ebf058fdf1cslive IncludeMaximum and IncludeMinimum specify whether the bound value is actually included in the range or not
06ba4a61654b3763ad65f52283832ebf058fdf1cslive (IncludeMaximum = yes meaning to find versions below or equal to the version specified in Maximum while
06ba4a61654b3763ad65f52283832ebf058fdf1cslive IncludeMaximum = no only finds those below the Maximum).
06ba4a61654b3763ad65f52283832ebf058fdf1cslive OnlyDetect tells the installer not to remove the previous product. This is useful as long as we
06ba4a61654b3763ad65f52283832ebf058fdf1cslive only change files in the package. -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <Upgrade Id="C4BAD770-BFE8-4D2C-A592-693028A7215B"> <!-- Upgrade of Sun xVM VirtualBox >= v1.6.0 -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Upgrade is flagged if current-install is newer than or equal to package - TODO: should make a dialog appear asking user to confirm downgrade. -->
1937357c6969cbc6a1eb245e80faa6f3723cfa0awrowe <!--- Setting "OnlyDetect" to "no" makes the installer uninstall an already newer installed version. -->
1937357c6969cbc6a1eb245e80faa6f3723cfa0awrowe <UpgradeVersion Property="NEWERVERSIONDETECTED" Minimum="$(var.Property_Version)" OnlyDetect="no" />
1937357c6969cbc6a1eb245e80faa6f3723cfa0awrowe <!-- Flag is set if the install will trigger an upgrade of an existing install -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <UpgradeVersion Property="PREVIOUSVERSIONSINSTALLED" Minimum="1.0.0.0" Maximum="$(var.Property_Version)" IncludeMaximum="yes" />
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- The product's icon table. -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <Icon Id="IconVirtualBox" SourceFile="$(env.VBOX_WINDOWS_ICON_FILE)" />
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Global properties. -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <Property Id="ARPPRODUCTICON">IconVirtualBox</Property>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <Property Id="ARPURLINFOABOUT">http://www.virtualbox.org</Property>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <Property Id="ARPURLUPDATEINFO">http://www.virtualbox.org</Property>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <Property Id="INSTALLDESKTOPSHORTCUT" Value="1"></Property>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <Property Id="INSTALLQUICKLAUNCHSHORTCUT" Value="1"></Property>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Install the product for all users on the system -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Make sure installation will not start on anything other but the NT family -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive VersionNT64
06ba4a61654b3763ad65f52283832ebf058fdf1cslive </Condition>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive NOT VersionNT64
06ba4a61654b3763ad65f52283832ebf058fdf1cslive </Condition>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive NOT VersionNT=500 AND NOT Version9X AND NOT VersionNT64
06ba4a61654b3763ad65f52283832ebf058fdf1cslive </Condition>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive </Condition>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Force overwriting all files and re-create shortcuts to guarantee a working environment -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Custom actions -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Figure out where a previous installation was, if any -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_OriginalTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[ProgramFiles64Folder]\$(env.VBOX_VENDOR_SHORT)\VirtualBox" />
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <RegistrySearch Id="RegistryGetInstallPath" Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir" Type="raw" Win64="$(var.Property_Win64)"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive </Property>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_DefaultTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[EXISTINGINSTALLDIR]" />
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_OriginalTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[ProgramFilesFolder]\$(env.VBOX_VENDOR_SHORT)\VirtualBox" />
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <RegistrySearch Id="RegistryGetInstallPath" Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir" Type="raw" Win64="$(var.Property_Win64)"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive </Property>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_DefaultTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[EXISTINGINSTALLDIR]" />
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_CheckSerial" BinaryKey="VBoxInstallHelper" DllEntry="CheckSerial" Impersonate="no"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_InstallPythonAPI" BinaryKey="VBoxInstallHelper" DllEntry="InstallPythonAPI" Execute="deferred" Return="check" Impersonate="no"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_InstallPythonAPIArgs" Property="ca_InstallPythonAPI" Value="[INSTALLDIR]" Execute="immediate"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_InstallBranding" BinaryKey="VBoxInstallHelper" DllEntry="InstallBranding" Execute="deferred" Return="check" Impersonate="no"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_InstallBrandingArgs" Property="ca_InstallBranding" Value="[INSTALLDIR]" Execute="immediate"/>
1937357c6969cbc6a1eb245e80faa6f3723cfa0awrowe <CustomAction Id="ca_UninstallBranding" BinaryKey="VBoxInstallHelper" DllEntry="UninstallBranding" Execute="deferred" Return="check" Impersonate="no"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_UninstallBrandingArgs" Property="ca_UninstallBranding" Value="[INSTALLDIR]" Execute="immediate"/>
1937357c6969cbc6a1eb245e80faa6f3723cfa0awrowe <CustomAction Id="ca_UninstallTAPInstances" BinaryKey="VBoxInstallHelper"
1937357c6969cbc6a1eb245e80faa6f3723cfa0awrowe DllEntry="UninstallTAPInstances" Execute="deferred" Return="check" Impersonate="no"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_CreateHostOnlyInterface" BinaryKey="VBoxInstallHelper" DllEntry="CreateHostOnlyInterface" Execute="deferred" Return="check" Impersonate="no"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_CreateHostOnlyInterfaceArgs" Property="ca_CreateHostOnlyInterface" Value="[INSTALLDIR]" Execute="immediate"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_RemoveHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="RemoveHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_InstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_InstallNetFltArgs" Property="ca_InstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_RollbackInstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="rollback" Impersonate="no"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_RollbackInstallNetFltArgs" Property="ca_RollbackInstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_UninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_UninstallNetFltArgs" Property="ca_UninstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_RollbackUninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="rollback" Impersonate="no"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_RollbackUninstallNetFltArgs" Property="ca_RollbackUninstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <CustomAction Id="ca_StartVBox" FileKey="file_VirtualBox.exe" ExeCommand="" Return="asyncNoWait" Impersonate="yes" />
11235fe555f482044904c555d3725c7d38575bf6jailletc <!-- Detect old Sun installation -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Force a manual uninstall of an already installed Sun VirtualBox version first -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!--<Property Id="VBOXSUN">
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <RegistrySearch Id="RegSearchSunVersion" Root="HKLM" Key="SOFTWARE\Sun\VirtualBox" Name="Version" Type="raw" Win64="$(var.Property_Win64)"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive </Property>
1937357c6969cbc6a1eb245e80faa6f3723cfa0awrowe <Condition Message="!(loc.SunFound)">
06ba4a61654b3763ad65f52283832ebf058fdf1cslive NOT VBOXSUN
06ba4a61654b3763ad65f52283832ebf058fdf1cslive </Condition>-->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Detect old innotek installation -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <!-- Force a manual uninstall of an already installed innotek VirtualBox version first -->
06ba4a61654b3763ad65f52283832ebf058fdf1cslive <RegistrySearch Id="RegSearchInnotekVersion" Root="HKLM" Key="SOFTWARE\Innotek\VirtualBox" Name="Version" Type="raw" Win64="$(var.Property_Win64)"/>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive </Property>
06ba4a61654b3763ad65f52283832ebf058fdf1cslive NOT VBOXINNOTEK
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd </Condition>
cc8190433d13f5e9de618c5d7f10c824c0c1919cgryzor <Media Id="2" Cabinet="common.cab" EmbedCab="no" CompressionLevel="high" />
727872d18412fc021f03969b8641810d8896820bhumbedooh <!-- Here comes the file/directory list. -->
727872d18412fc021f03969b8641810d8896820bhumbedooh <Directory Id="$(var.Property_ProgramFiles)" Name="PFiles">
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh <Directory Id="INSTALLDIR" Name="$(env.VBOX_PRODUCT)">
0d0ba3a410038e179b695446bb149cce6264e0abnd <!-- The documentation is a separate component. This allows to split the install process
0d0ba3a410038e179b695446bb149cce6264e0abnd into pieces if ever necessary. Maintenance is easier, too. The following component
0d0ba3a410038e179b695446bb149cce6264e0abnd will be installed in the "doc" folder. -->
ac082aefa89416cbdc9a1836eaf3bed9698201c8humbedooh <Component Id="cp_Docs" Guid="40BD12C5-89A8-4B81-8A5E-5EEE2C2763C4">
0d0ba3a410038e179b695446bb149cce6264e0abnd </Component>
0d0ba3a410038e179b695446bb149cce6264e0abnd </Directory>
0d0ba3a410038e179b695446bb149cce6264e0abnd <!-- Device driver directory -->
205f749042ed530040a4f0080dbcb47ceae8a374rjung <Component Id="cp_VBoxDrv" Guid="D3E2F2BB-569F-46A2-836C-BDF30FF1EDF8" Win64="$(var.Property_Win64)">
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes"
0d0ba3a410038e179b695446bb149cce6264e0abnd Legacy="$(var.Property_DriverLegacy)" Sequence="2" PlugAndPlayPrompt="no"/>
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd <File Id="file_VBoxDrv.sys" Name="VBoxDrv.sys" KeyPath="yes"
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd Source="$(env.PATH_OUT)\bin\VBoxDrv.sys"/>
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd Source="$(env.PATH_OUT)\bin\VBoxDrv.inf" />
Source="$(env.PATH_OUT)\bin\VBoxDrv.cat" />
<Component Id="cp_USBFilterDriver" Guid="B7D782D2-96DF-4775-A0E1-A76CF7B04B65" Win64="$(var.Property_Win64)">
Source="$(env.PATH_OUT)\bin\VBoxUSBMon.sys" />
Source="$(env.PATH_OUT)\bin\VBoxUSBMon.inf" />
Source="$(env.PATH_OUT)\bin\VBoxUSBMon.cat" />
<Component Id="cp_USBDeviceDriver" Guid="010FE46A-E358-43E2-8BDC-38BC8BEC82E0" Win64="$(var.Property_Win64)">
Source="$(env.PATH_OUT)\bin\VBoxUSB.sys" />
Source="$(env.PATH_OUT)\bin\VBoxUSB.inf" />
Source="$(env.PATH_OUT)\bin\VBoxUSB.cat" />
<Component Id="cp_NetFltDriver" Guid="F0A02F6B-A349-42f8-A2EB-569DCAAAF846" Win64="$(var.Property_Win64)">
Source="$(env.PATH_OUT)\bin\VBoxNetFltM.inf" />
Source="$(env.PATH_OUT)\bin\VBoxNetFlt.inf" />
Source="$(env.PATH_OUT)\bin\VBoxNetFlt.cat" />
<Component Id="cp_NetAdpDriver" Guid="7adf3e12-af3c-4d36-8bec-36d5064cf84f" Win64="$(var.Property_Win64)">
Source="$(env.PATH_OUT)\bin\VBoxNetAdp.inf" />
Source="$(env.PATH_OUT)\bin\VBoxNetAdp.cat" />
<Component Id="cp_MainCOM" Guid="CD4A3C6C-C2D5-428D-90A1-B6DA3D0777D6" Win64="$(var.Property_Win64)">
Source="$(env.PATH_OUT)\bin\VBoxSVC.exe">
in VBoxSVC.exe - it's just a matter of choice which one to use -->
<Component Id="Cp_StartMenuShortcut" Guid="1C137D24-E599-47BD-98D0-2F62F202A8EA" Win64="$(var.Property_Win64)">
<RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)" Type="string"
Name="VirtualBox" WorkingDirectory="INSTALLDIR" Advertise="no" Target="VirtualBox.exe" />
<!-- All Binaries, DLLs (except COM) and drivers are in one component because they belong together. Additional
binaries e.g. test tools, utilities etc. should be in another component so they"re clearly separated. -->
<Component Id="cp_MainBinaries" Guid="5C8FE57A-F744-4DE0-AA3F-A563F486AD98" Win64="$(var.Property_Win64)">
Important: The IDs in "IconIndex" *must* be matching "Resources\resource.h". -->
<ProgId Id="progId_VirtualBox.Shell.vbox" Description="VirtualBox Machine Definition" Icon="file_VBoxRes.dll" IconIndex="-201">
<ProgId Id="progId_VirtualBox.Shell.vbox-extpack" Description="VirtualBox Extension Pack" Icon="file_VBoxRes.dll" IconIndex="-202">
<ProgId Id="progId_VirtualBox.Shell.ovf" Description="Open Virtualization Format" Icon="file_VBoxRes.dll" IconIndex="-301">
<ProgId Id="progId_VirtualBox.Shell.ova" Description="Open Virtualization Format Archive" Icon="file_VBoxRes.dll" IconIndex="-302">
<ProgId Id="progId_VirtualBox.Shell.vdi" Description="Virtual Disk Image" Icon="file_VBoxRes.dll" IconIndex="-303">
<ProgId Id="progId_VirtualBox.Shell.vmdk" Description="Virtual Machine Disk Format" Icon="file_VBoxRes.dll" IconIndex="-304">
<ProgId Id="progId_VirtualBox.Shell.vhd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-305">
<ProgId Id="progId_VirtualBox.Shell.hdd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-306">
Source="$(env.PATH_OUT)\bin\VBoxManage.exe" />
Source="$(env.PATH_OUT)\bin\VBoxHeadless.exe">
Source="$(env.PATH_OUT)\bin\VBoxHeadlessSVC.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"/> -->
Source="$(env.PATH_OUT)\bin\VBoxBalloonCtrl.exe"/>
Source="$(env.PATH_OUT)\bin\VBoxNetDHCP.exe"/>
Source="$(env.PATH_OUT)\bin\VBoxExtPackHelperApp.exe"/>
Source="$(env.PATH_OUT)\bin\VBoxDD.dll" />
Source="$(env.PATH_OUT)\bin\VBoxDD2.dll" />
Source="$(env.PATH_OUT)\bin\VBoxDDU.dll" />
Source="$(env.PATH_OUT)\bin\VBoxRT.dll" />
Source="$(env.PATH_OUT)\bin\VBoxREM.dll" />
Source="$(env.PATH_OUT)\bin\VBoxREM2.rel" />
Source="$(env.PATH_OUT)\bin\VBoxREM32.dll" />
Source="$(env.PATH_OUT)\bin\VBoxREM64.dll" />
Source="$(env.PATH_OUT)\bin\VBoxVMM.dll" />
Source="$(env.PATH_OUT)\bin\VBoxVRDP.dll" />
Source="$(env.PATH_OUT)\bin\VBoxSharedFolders.dll" />
Source="$(env.PATH_OUT)\bin\VBoxSharedClipboard.dll" />
Source="$(env.PATH_OUT)\bin\VBoxGuestPropSvc.dll" />
Source="$(env.PATH_OUT)\bin\VBoxGuestControlSvc.dll" />
Source="$(env.PATH_OUT)\bin\VBoxAuth.dll" />
Source="$(env.PATH_OUT)\bin\VBoxAuthSimple.dll" />
Source="$(env.PATH_OUT)\bin\VBoxRes.dll" />
Source="$(env.PATH_OUT)\bin\VMMGC.gc" />
Source="$(env.PATH_OUT)\bin\VBoxDDGC.gc" />
Source="$(env.PATH_OUT)\bin\VBoxDD2GC.gc" />
Source="$(env.PATH_OUT)\bin\VMMR0.r0" />
Source="$(env.PATH_OUT)\bin\VBoxDDR0.r0" />
Source="$(env.PATH_OUT)\bin\VBoxDD2R0.r0" />
Source="$(env.PATH_OUT)\bin\VBoxTestOGL.exe" />
Source="$(env.PATH_OUT)\bin\VirtualBox.exe">
Source="$(env.PATH_OUT)\bin\QtCoreVBox4.dll" />
Source="$(env.PATH_OUT)\bin\QtGuiVBox4.dll" />
Source="$(env.PATH_OUT)\bin\QtNetworkVBox4.dll" />
Source="$(env.PATH_OUT)\bin\VBoxDbg.dll" />
Source="$(env.PATH_OUT)\bin\QtOpenGLVBox4.dll" />
Source="$(env.PATH_OUT)\bin\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest" />
Source="$(env.PATH_OUT)\bin\Microsoft.VC80.CRT\msvcr80.dll" />
Source="$(env.PATH_OUT)\bin\Microsoft.VC80.CRT\msvcp80.dll" />
Source="$(env.PATH_OUT)\bin\msvcp71.dll" />
Source="$(env.PATH_OUT)\bin\msvcrt.dll" />
Source="$(env.PATH_OUT)\bin\msvcr71.dll" />
Source="$(env.PATH_OUT)\bin\VBoxEFI32.fd" />
Source="$(env.PATH_OUT)\bin\VBoxEFI64.fd" />
<File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso" DiskId="$(var.Property_DiskIdCommon)"
Source="$(env.PATH_MULTIARCH_GUEST_ADDITIONS_ISO)\VBoxGuestAdditions.iso" />
Source="$(env.PATH_OUT)\bin\additions\VBoxGuestAdditions.iso" />
<Component Id="cp_QtAccessible" Guid="12040EF9-D4A8-4FB2-A69C-CA2F5C354A45" Win64="$(var.Property_Win64)">
Source="$(env.PATH_OUT)\bin\accessible\qtaccessiblewidgets4.dll" />
<Component Id="cp_VBoxPyInst" Guid="C9A40306-5102-11DE-A7BA-C3C555D89593" Win64="$(var.Property_Win64)">
Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapisetup.py" />
<Component Id="cp_VBoxPyMod" Guid="DF19CB76-5102-11DE-943B-13C755D89593" Win64="$(var.Property_Win64)">
Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\__init__.py" />
<File Id="file_VirtualBox_constants.py" Name="VirtualBox_constants.py" DiskId="$(var.Property_DiskIdCommon)"
Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\VirtualBox_constants.py" />
<Component Id="cp_VBoxCROpenGL" Guid="874A1297-835A-491D-8A9D-7E723BC29EE7" Win64="$(var.Property_Win64)">
Source="$(env.PATH_OUT)\bin\VBoxOGLhostcrutil.dll" />
Source="$(env.PATH_OUT)\bin\VBoxOGLhosterrorspu.dll" />
Source="$(env.PATH_OUT)\bin\VBoxOGLrenderspu.dll" />
Source="$(env.PATH_OUT)\bin\VBoxSharedCrOpenGL.dll" />
<Component Id="cp_VBoxSDLBinaries" Guid="F09D5FD9-E176-42B0-90A9-481BB18B0CB4" Win64="$(var.Property_Win64)">
Source="$(env.PATH_OUT)\bin\VBoxSDL.exe" />
Source="$(env.PATH_OUT)\bin\SDL.dll" />
Source="$(env.PATH_OUT)\bin\SDL_ttf.dll" />
Source="$(env.PATH_OUT)\bin\vboxwebsrv.exe" />
<Component Id="cp_StartMenuVBox" Guid="C2DC321A-CE63-40EE-8A98-724DF8BD12FB" Win64="$(var.Property_Win64)">
<Shortcut Id="sc_StartMenuVBox" Directory="dir_StartMenuVBox" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
<Component Id="cp_DesktopShortcut" Guid="668F8A1A-F5CE-48B3-BB1A-3042EE27B279" Win64="$(var.Property_Win64)">
<Shortcut Id="sc_DesktopVBox" Directory="DesktopFolder" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
<Component Id="cp_QuickLaunchVBox" Guid="CC19E026-938A-41CB-8E77-3F33296244B6" Win64="$(var.Property_Win64)">
<Shortcut Id="sc_QuickLaunchVBox" Directory="dir_QuicklaunchFolder" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
Description="!(loc.VB_App)"
Description="!(loc.VB_USBDriver)"
Description="!(loc.VB_Network)"
Description="!(loc.VB_NetFltDriver)"
Description="!(loc.VB_NetAdpDriver)"
Description="!(loc.VB_Python)"
<RemoveExistingProducts After="InstallValidate"><![CDATA[NEWERVERSIONDETECTED OR PREVIOUSVERSIONSINSTALLED]]></RemoveExistingProducts>
<Custom Action="ca_OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR) AND (NOT EXISTINGINSTALLDIR)]]></Custom>
<Custom Action="ca_DefaultTargetDir" Before="FileCost" ><![CDATA[NOT Installed AND (NOT INSTALLDIR) AND EXISTINGINSTALLDIR]]></Custom>
<Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3]]></Custom>
<Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3]]></Custom>
<Custom Action="ca_RollbackInstallNetFltArgs" Before="ca_RollbackInstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
<Custom Action="ca_RollbackInstallNetFlt" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
<Custom Action="ca_InstallNetFltArgs" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
<Custom Action="ca_InstallNetFlt" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
<Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
<Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
<Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
<Custom Action="ca_UninstallNetFlt" After="InstallInitialize" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
<Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" ><![CDATA[&VBoxPython=3]]></Custom>
<Custom Action="ca_InstallBrandingArgs" Before="ca_InstallBranding" ><![CDATA[NOT REMOVE]]></Custom>