VirtualBox.wxs revision 950867fcd91ff725bbcc44623ae3d8888ed32da2
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?xml version="1.0"?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<!--
0da0539aeae9b2692f4967c4a8ef273018effb2evboxsync VirtualBox Windows Installation Script (WiX)
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
85668909c68b5d0e67c89d6042535b41c4bffeccvboxsync Copyright (C) 2006-2011 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<?define Property_RegKey = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync<?define Property_RegKeyInstall = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox\Install" ?>
85668909c68b5d0e67c89d6042535b41c4bffeccvboxsync<?define Property_Version = "$(env.VBOX_VERSION_STRING_RAW)" ?>
85668909c68b5d0e67c89d6042535b41c4bffeccvboxsync<?define Property_VersionExt = "$(env.VBOX_VERSION_STRING)" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?define Property_Upgrade = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.BUILD_TARGET_ARCH) = "amd64" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?define Property_ProgramFiles = "ProgramFiles64Folder" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?define Property_Platform = "x64" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?define Property_Win64 = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?define Property_DriverLegacy = "no" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?else ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?define Property_DriverLegacy = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?else ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?define Property_ProgramFiles = "ProgramFilesFolder" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <?define Property_Platform = "x86" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?define Property_Win64 = "no" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Note: Settings this to 'no' breaks win2k installs (!) -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?define Property_DriverLegacy = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?else ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?define Property_DriverLegacy = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
5514b00d9e46e911d6651e5353125d032d106efevboxsync<!-- If we build a combined installer (32- and 64-bit in one installer), we
5514b00d9e46e911d6651e5353125d032d106efevboxsync use two installer "disks": One for all platform-specific stuff and one which
5514b00d9e46e911d6651e5353125d032d106efevboxsync contains all common (platform independent) stuff (like manuals, bitmaps etc). -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?define Property_DiskIdCommon = "2" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?else ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?define Property_DiskIdCommon = "1" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
d97357e2036109245c83ba553d0290212e28ea40vboxsync xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Note: GUIDs in WiX *must* be uppercase! -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Always include an upgrade ID or otherwise upgrade installation will not be possible. When doing
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync a major upgrade (more than just fixing a few files) change the product GUID. We always do a major
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync upgrade even for minor VBox updates. For that only change the product ID and the product version.
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync The upgrade code *never* must be changed! -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Update / Upgrade policies:
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Update Type Package Code Product Version Product Code Upgrade Code
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Small update change don't change don't change don't change
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Minor update change change don't change don't change
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Major upgrade change change change don't change -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Old product ID: <Product Id="B59FE77B-738F-4f1c-AB48-3104895AF676"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Old upgrade code of innotek: UpgradeCode="F5FFAEBF-97AE-4038-8F91-4DE719456127" -->
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
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Package Id="*" Keywords="Installer"
85668909c68b5d0e67c89d6042535b41c4bffeccvboxsync Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) installation package"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Comments="$(env.VBOX_PRODUCT) installation package"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Manufacturer="$(env.VBOX_VENDOR)"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync InstallerVersion="200"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Compressed="yes"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync InstallPrivileges="elevated"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Platform="$(var.Property_Platform)"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- *************************** Upgrade packages only ******************************* -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Minimum and Maximum specify the range of versions we are supposed to update with this upgrade.
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync IncludeMaximum and IncludeMinimum specify whether the bound value is actually included in the range or not
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync (IncludeMaximum = yes meaning to find versions below or equal to the version specified in Maximum while
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync IncludeMaximum = no only finds those below the Maximum).
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync OnlyDetect tells the installer not to remove the previous product. This is useful as long as we
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync only change files in the package. -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Upgrade Id="C4BAD770-BFE8-4D2C-A592-693028A7215B"> <!-- Upgrade of Sun xVM VirtualBox >= v1.6.0 -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Upgrade is flagged if current-install is newer than or equal to package - TODO: should make a dialog appear asking user to confirm downgrade. -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!--- Setting "OnlyDetect" to "no" makes the installer uninstall an already newer installed version. -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <UpgradeVersion Property="NEWERVERSIONDETECTED" Minimum="$(var.Property_Version)" OnlyDetect="no" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Flag is set if the install will trigger an upgrade of an existing install -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <UpgradeVersion Property="PREVIOUSVERSIONSINSTALLED" Minimum="1.0.0.0" Maximum="$(var.Property_Version)" IncludeMaximum="yes" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Upgrade>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync <!-- The product's icon table. -->
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync <Icon Id="IconVirtualBox" SourceFile="$(env.VBOX_WINDOWS_ICON_FILE)" />
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync <!-- Global properties. -->
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync <Property Id="ARPPRODUCTICON">IconVirtualBox</Property>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Property Id="ARPURLINFOABOUT">http://www.virtualbox.org</Property>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Property Id="ARPURLUPDATEINFO">http://www.virtualbox.org</Property>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Property Id="INSTALLDESKTOPSHORTCUT" Value="1"></Property>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Property Id="INSTALLQUICKLAUNCHSHORTCUT" Value="1"></Property>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Property Id="STARTVBOX" Value="1"></Property>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Install the product for all users on the system -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Property Id="ALLUSERS"><![CDATA[1]]></Property>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Make sure installation will not start on anything other but the NT family -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.BUILD_TARGET_ARCH) = "amd64" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Condition Message="!(loc.Only64Bit)">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync VersionNT64
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Condition>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?else ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Condition Message="!(loc.Only32Bit)">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync NOT VersionNT64
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Condition>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Condition Message="!(loc.WrongOS)">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync NOT VersionNT=500 AND NOT Version9X AND NOT VersionNT64
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Condition>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Condition Message="!(loc.NeedAdmin)">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Privileged
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Condition>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- Force overwriting all files and re-create shortcuts to guarantee a working environment -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Property Id='REINSTALLMODE' Value='amus'/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Custom actions -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Figure out where a previous installation was, if any -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.BUILD_TARGET_ARCH) = "amd64" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_OriginalTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[ProgramFiles64Folder]\$(env.VBOX_VENDOR_SHORT)\VirtualBox" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Property Id="EXISTINGINSTALLDIR" Secure="yes">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <RegistrySearch Id="RegistryGetInstallPath" Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir" Type="raw" Win64="$(var.Property_Win64)"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Property>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_DefaultTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[EXISTINGINSTALLDIR]" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?else ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_OriginalTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[ProgramFilesFolder]\$(env.VBOX_VENDOR_SHORT)\VirtualBox" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Property Id="EXISTINGINSTALLDIR" Secure="yes">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <RegistrySearch Id="RegistryGetInstallPath" Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir" Type="raw" Win64="$(var.Property_Win64)"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Property>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_DefaultTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[EXISTINGINSTALLDIR]" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_CheckSerial" BinaryKey="VBoxInstallHelper" DllEntry="CheckSerial" Impersonate="no"/>
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync <CustomAction Id="ca_InstallPythonAPI" BinaryKey="VBoxInstallHelper" DllEntry="InstallPythonAPI" Execute="deferred" Return="check" Impersonate="no"/>
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync <CustomAction Id="ca_InstallPythonAPIArgs" Property="ca_InstallPythonAPI" Value="[INSTALLDIR]" Execute="immediate"/>
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync <CustomAction Id="ca_InstallBranding" BinaryKey="VBoxInstallHelper" DllEntry="InstallBranding" Execute="deferred" Return="check" Impersonate="no"/>
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync <CustomAction Id="ca_InstallBrandingArgs" Property="ca_InstallBranding" Value="[INSTALLDIR]" Execute="immediate"/>
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync <CustomAction Id="ca_UninstallBranding" BinaryKey="VBoxInstallHelper" DllEntry="UninstallBranding" Execute="deferred" Return="check" Impersonate="no"/>
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync <CustomAction Id="ca_UninstallBrandingArgs" Property="ca_UninstallBranding" Value="[INSTALLDIR]" Execute="immediate"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_UninstallTAPInstances" BinaryKey="VBoxInstallHelper"
d97357e2036109245c83ba553d0290212e28ea40vboxsync DllEntry="UninstallTAPInstances" Execute="deferred" Return="check" Impersonate="no"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <CustomAction Id="ca_CreateHostOnlyInterface" BinaryKey="VBoxInstallHelper" DllEntry="CreateHostOnlyInterface" Execute="deferred" Return="check" Impersonate="no"/>
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync <CustomAction Id="ca_CreateHostOnlyInterfaceArgs" Property="ca_CreateHostOnlyInterface" Value="[INSTALLDIR]" Execute="immediate"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_RemoveHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="RemoveHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <CustomAction Id="ca_StopHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="StopHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <CustomAction Id="ca_UpdateHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="UpdateHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <CustomAction Id="ca_UpdateHostOnlyInterfacesArgs" Property="ca_UpdateHostOnlyInterfaces" Value="[INSTALLDIR]" Execute="immediate"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_InstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_InstallNetFltArgs" Property="ca_InstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_RollbackInstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="rollback" Impersonate="no"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_RollbackInstallNetFltArgs" Property="ca_RollbackInstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_UninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_UninstallNetFltArgs" Property="ca_UninstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_RollbackUninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="rollback" Impersonate="no"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_RollbackUninstallNetFltArgs" Property="ca_RollbackUninstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CustomAction Id="ca_StartVBox" FileKey="file_VirtualBox.exe" ExeCommand="" Return="asyncNoWait" Impersonate="yes" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- Detect old Sun installation -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- Force a manual uninstall of an already installed Sun VirtualBox version first -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!--<Property Id="VBOXSUN">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <RegistrySearch Id="RegSearchSunVersion" Root="HKLM" Key="SOFTWARE\Sun\VirtualBox" Name="Version" Type="raw" Win64="$(var.Property_Win64)"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Property>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Condition Message="!(loc.SunFound)">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync NOT VBOXSUN
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Condition>-->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- Detect old innotek installation -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- Force a manual uninstall of an already installed innotek VirtualBox version first -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Property Id="VBOXINNOTEK">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <RegistrySearch Id="RegSearchInnotekVersion" Root="HKLM" Key="SOFTWARE\Innotek\VirtualBox" Name="Version" Type="raw" Win64="$(var.Property_Win64)"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Property>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Condition Message="!(loc.InnotekFound)">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync NOT VBOXINNOTEK
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Condition>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
d875c4f97d29f18b7e46ed37de502ec28b97632cvboxsync <Media Id="2" Cabinet="common.cab" EmbedCab="no" CompressionLevel="high" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Here comes the file/directory list. -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Directory Id="TARGETDIR" Name="SourceDir">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Directory Id="$(var.Property_ProgramFiles)" Name="PFiles">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="INSTALLDIR" Name="$(env.VBOX_PRODUCT)">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_Documents" Name="doc">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- The documentation is a separate component. This allows to split the install process
ad27e1d5e48ca41245120c331cc88b50464813cevboxsync into pieces if ever necessary. Maintenance is easier, too. The following component
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync will be installed in the "doc" folder. -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_Docs" Guid="40BD12C5-89A8-4B81-8A5E-5EEE2C2763C4">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?include $(env.PATH_TARGET)\Files_Doc.wxi ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Device driver directory -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_Drivers" Name="drivers">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_VBoxDrv" Name="vboxdrv">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_VBoxDrv" Guid="D3E2F2BB-569F-46A2-836C-BDF30FF1EDF8" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Legacy="$(var.Property_DriverLegacy)" Sequence="2" PlugAndPlayPrompt="no"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxDrv.sys" Name="VBoxDrv.sys" KeyPath="yes"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxDrv.sys"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxDrv.inf" Name="VBoxDrv.inf"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxDrv.inf" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxDrv.cat" Name="VBoxDrv.cat"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxDrv.cat" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Component>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_USB" Name="USB">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_USBFilter" Name="filter">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_USBFilterDriver" Guid="B7D782D2-96DF-4775-A0E1-A76CF7B04B65" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Legacy="$(var.Property_DriverLegacy)" Sequence="0" PlugAndPlayPrompt="no"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxUSBMon.sys" Name="VBoxUSBMon.sys"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxUSBMon.sys" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxUSBMon.inf" Name="VBoxUSBMon.inf"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxUSBMon.inf" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxUSBMon.cat" Name="VBoxUSBMon.cat"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxUSBMon.cat" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Component>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Directory>
d97357e2036109245c83ba553d0290212e28ea40vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_USBDevice" Name="device">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_USBDeviceDriver" Guid="010FE46A-E358-43E2-8BDC-38BC8BEC82E0" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Legacy="$(var.Property_DriverLegacy)" Sequence="0" PlugAndPlayPrompt="no"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxUSB.sys" Name="VBoxUSB.sys"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxUSB.sys" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxUSB.inf" Name="VBoxUSB.inf"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxUSB.inf" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxUSB.cat" Name="VBoxUSB.cat"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxUSB.cat" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Component>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Directory>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_Network" Name="network">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_NetFlt" Name="netflt">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_NetFltDriver" Guid="F0A02F6B-A349-42f8-A2EB-569DCAAAF846" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxNetFlt.sys" Name="VBoxNetFlt.sys" KeyPath="yes"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetFlt.sys" Checksum="yes"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxNetFltNobj.sys" Name="VBoxNetFltNobj.dll"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetFltNobj.dll" Checksum="yes"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxNetFltM.inf" Name="VBoxNetFltM.inf"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetFltM.inf" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxNetFlt.inf" Name="VBoxNetFlt.inf"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetFlt.inf" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxNetFlt.cat" Name="VBoxNetFlt.cat"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetFlt.cat" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Directory>
d97357e2036109245c83ba553d0290212e28ea40vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_NetAdp" Name="netadp">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_NetAdpDriver" Guid="7adf3e12-af3c-4d36-8bec-36d5064cf84f" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxNetAdp.sys" Name="VBoxNetAdp.sys" KeyPath="yes"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetAdp.sys" Checksum="yes"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxNetAdp.inf" Name="VBoxNetAdp.inf"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetAdp.inf" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_SIGNING_MODE) != none ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxNetAdp.cat" Name="VBoxNetAdp.cat"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetAdp.cat" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Component>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Directory>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory> <!-- Directory "drivers" -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- National Language Support directory -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_NLS" Name="nls">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_NLS" Guid="D63517D7-1CF3-4D06-B3EE-C561E323069B" Win64="$(var.Property_Win64)">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Include the autogenerated NLS file list -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?include $(env.PATH_TARGET)\VBoxGuiNLS.wxi ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- COM components have a separate entry mainly because of the KeyPath attribute (that hints the
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync TypeLib element where to take the TLB resource from) may appear only once per Component. -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_MainCOM" Guid="CD4A3C6C-C2D5-428D-90A1-B6DA3D0777D6" Win64="$(var.Property_Win64)">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- File ID *must not* be changed because of our typelib template generation file! -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="VBoxSVC" Name="VBoxSVC.exe"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxSVC.exe">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </File>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- We set KeyPath on this file to instruct TypeLib to read the TLB resource from it
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync and create appropriate Interface registry entries. Note that the same TLB is present
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync in VBoxSVC.exe - it's just a matter of choice which one to use -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- File ID *must not* be changed because of our typelib template generation file! -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="VBoxC" Name="VBoxC.dll"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VBoxC.dll" KeyPath="yes">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </File>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Include the autogenerated TypeLib block -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?include $(env.PATH_TARGET)\VirtualBox_TypeLib.wxi ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!--
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="Cp_StartMenuShortcut" Guid="1C137D24-E599-47BD-98D0-2F62F202A8EA" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)" Type="string"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Value="installed" KeyPath="yes" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Shortcut Id="ShortcutStartMenuVBox" Directory="ProgramMenuDir"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Name="VirtualBox" WorkingDirectory="INSTALLDIR" Advertise="no" Target="VirtualBox.exe" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <RemoveFolder Id="ShortcutStartMenuVBoxRemove" On="uninstall" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Component>-->
d97357e2036109245c83ba553d0290212e28ea40vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!---->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- All Binaries, DLLs (except COM) and drivers are in one component because they belong together. Additional
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync binaries e.g. test tools, utilities etc. should be in another component so they"re clearly separated. -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_MainBinaries" Guid="5C8FE57A-F744-4DE0-AA3F-A563F486AD98" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Set required environment variables. -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Environment Id="env_VBoxInstallDir" Action="set" Name="VBOX_INSTALL_PATH"
d97357e2036109245c83ba553d0290212e28ea40vboxsync System="yes" Part="last" Permanent="no" Value="[INSTALLDIR]" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync
dcd01485c22687cd874d69a566131b4a6a82e54bvboxsync <!-- Register file extensions. Note: Extension Id's *must not* be changed! These specify the actual
dcd01485c22687cd874d69a566131b4a6a82e54bvboxsync file extension to handle. Also, here would be the place to add more fancy DDE stuff later.
dcd01485c22687cd874d69a566131b4a6a82e54bvboxsync Important: The IDs in "IconIndex" *must* be matching "Resources\resource.h". -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ProgId Id="progId_VirtualBox.Shell.vbox" Description="VirtualBox Machine Definition" Icon="file_VBoxRes.dll" IconIndex="-201">
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync <Extension Id="vbox" ContentType="application/x-virtualbox-vbox">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync </Extension>
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync </ProgId>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ProgId Id="progId_VirtualBox.Shell.vbox-extpack" Description="VirtualBox Extension Pack" Icon="file_VBoxRes.dll" IconIndex="-202">
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync <Extension Id="vbox-extpack" ContentType="application/x-virtualbox-vbox-extpack">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync </Extension>
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync </ProgId>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ProgId Id="progId_VirtualBox.Shell.ovf" Description="Open Virtualization Format" Icon="file_VBoxRes.dll" IconIndex="-301">
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync <Extension Id="ovf" ContentType="application/x-virtualbox-ovf">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync </Extension>
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync </ProgId>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ProgId Id="progId_VirtualBox.Shell.ova" Description="Open Virtualization Format Archive" Icon="file_VBoxRes.dll" IconIndex="-302">
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync <Extension Id="ova" ContentType="application/x-virtualbox-ova">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync </Extension>
6c0a8bf982009a31fcbb1dcb07422dd5ee88f4e3vboxsync </ProgId>
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync <ProgId Id="progId_VirtualBox.Shell.vdi" Description="Virtual Disk Image" Icon="file_VBoxRes.dll" IconIndex="-303">
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync <Extension Id="vdi" ContentType="application/x-virtualbox-vdi" />
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync </ProgId>
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync <ProgId Id="progId_VirtualBox.Shell.vmdk" Description="Virtual Machine Disk Format" Icon="file_VBoxRes.dll" IconIndex="-304">
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync <Extension Id="vmdk" ContentType="application/x-virtualbox-vmdk" />
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync </ProgId>
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync <ProgId Id="progId_VirtualBox.Shell.vhd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-305">
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync <Extension Id="vhd" ContentType="application/x-virtualbox-vhd" />
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync </ProgId>
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync <ProgId Id="progId_VirtualBox.Shell.hdd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-306">
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync <Extension Id="hdd" ContentType="application/x-virtualbox-hdd" />
f9dfa074e1d326c23ca62279b18b3b9efc0a7b73vboxsync </ProgId>
d97357e2036109245c83ba553d0290212e28ea40vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- Files -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Include all user manual .CHM files (file is generated by makefile). -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?include $(env.PATH_TARGET)\Files_Main.wxi ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Include all license files (file is generated by makefile). -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?include $(env.PATH_TARGET)\Files_License.wxi ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- Frontends -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxManage.exe" Name="VBoxManage.exe"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxManage.exe" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxHeadless.exe" Name="VBoxHeadless.exe"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxHeadless.exe">
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Create a simple shortcut for VBoxVRDP, which is not present anymore, pointing to VBoxHeadless.exe -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- <Shortcut Id="ShortcutVBoxVRDP" Directory="INSTALLDIR" Name="VBoxVRDP" Show="normal" WorkingDirectory="INSTALLDIR"/> -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </File>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxBalloonCtrl.exe" Name="VBoxBalloonCtrl.exe"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VBoxBalloonCtrl.exe"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- Misc tools -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxNetDHCP.exe" Name="VBoxNetDHCP.exe"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxNetDHCP.exe"/>
f5dceedee19e251fca087d8efb960533a60c82e4vboxsync<?if $(env.VBOX_WITH_EXTPACK) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxExtPackHelperApp.exe" Name="VBoxExtPackHelperApp.exe"
f5dceedee19e251fca087d8efb960533a60c82e4vboxsync Source="$(env.PATH_OUT)\bin\VBoxExtPackHelperApp.exe"/>
f5dceedee19e251fca087d8efb960533a60c82e4vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- VBox DLL files -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxDD.dll" Name="VBoxDD.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxDD.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxDD2.dll" Name="VBoxDD2.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxDD2.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxDDU.dll" Name="VBoxDDU.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxDDU.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxRT.dll" Name="VBoxRT.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxRT.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxREM.dll" Name="VBoxREM.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxREM.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.BUILD_TARGET_ARCH) = "amd64" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxREM2.rel" Name="VBoxREM2.rel"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxREM2.rel" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?else ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxREM32.dll" Name="VBoxREM32.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxREM32.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxREM64.dll" Name="VBoxREM64.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxREM64.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxVMM.dll" Name="VBoxVMM.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxVMM.dll" />
945e2415c4f3b92c25b27f5568cd94e281353e5fvboxsync<?if $(env.VBOX_WITH_VRDP) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxVRDP.dll" Name="VBoxVRDP.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxVRDP.dll" />
945e2415c4f3b92c25b27f5568cd94e281353e5fvboxsync<?endif ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxSharedFolders.dll" Name="VBoxSharedFolders.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxSharedFolders.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxSharedClipboard.dll" Name="VBoxSharedClipboard.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxSharedClipboard.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_GUEST_PROPS) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxGuestPropSvc.dll" Name="VBoxGuestPropSvc.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxGuestPropSvc.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_GUEST_CONTROL) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxGuestControlSvc.dll" Name="VBoxGuestControlSvc.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxGuestControlSvc.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxAuth.dll" Name="VBoxAuth.dll"
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync Source="$(env.PATH_OUT)\bin\VBoxAuth.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxAuthSimple.dll" Name="VBoxAuthSimple.dll"
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync Source="$(env.PATH_OUT)\bin\VBoxAuthSimple.dll" />
dcd01485c22687cd874d69a566131b4a6a82e54bvboxsync
dcd01485c22687cd874d69a566131b4a6a82e54bvboxsync <!-- Include resource DLL (icons, ...). -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxRes.dll" Name="VBoxRes.dll" DiskId="$(var.Property_DiskIdCommon)"
dcd01485c22687cd874d69a566131b4a6a82e54bvboxsync Source="$(env.PATH_OUT)\bin\VBoxRes.dll" />
dcd01485c22687cd874d69a566131b4a6a82e54bvboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VMMGC.gc" Name="VMMGC.gc"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VMMGC.gc" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxDDGC.gc" Name="VBoxDDGC.gc"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxDDGC.gc" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxDD2GC.gc" Name="VBoxDD2GC.gc"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxDD2GC.gc" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VMMR0.r0" Name="VMMR0.r0"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VMMR0.r0" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxDDR0.r0" Name="VBoxDDR0.r0"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxDDR0.r0" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxDD2R0.r0" Name="VBoxDD2R0.r0"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxDD2R0.r0" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_CROGL) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxTestOGL.exe" Name="VBoxTestOGL.exe"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxTestOGL.exe" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- Qt frontend -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VirtualBox.exe" Name="VirtualBox.exe"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VirtualBox.exe">
d97357e2036109245c83ba553d0290212e28ea40vboxsync </File>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_QtCoreVBox4.dll" Name="QtCoreVBox4.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\QtCoreVBox4.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_QtGuiVBox4.dll" Name="QtGuiVBox4.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\QtGuiVBox4.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_QtNetworkVBox4.dll" Name="QtNetworkVBox4.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\QtNetworkVBox4.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync<?if $(env.VBOX_WITH_DEBUGGER_GUI) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxDbg.dll" Name="VBoxDbg.dll"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\VBoxDbg.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_GUI_USE_QGL) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_QtOpenGLVBox4.dll" Name="QtOpenGLVBox4.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\QtOpenGLVBox4.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_USE_VCC80) = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- MS v8 Runtime DLL files (private assembly) -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_Microsoft.VC80.CRT.manifest" Name="Microsoft.VC80.CRT.manifest"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_msvcr80.dll" Name="msvcr80.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\Microsoft.VC80.CRT\msvcr80.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_msvcp80.dll" Name="msvcp80.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\Microsoft.VC80.CRT\msvcp80.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- MS v7 Runtime DLL files -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_USE_VCC80) != "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_msvcp71.dll" Name="msvcp71.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\msvcp71.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_msvcrt.dll" Name="msvcrt.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\msvcrt.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.BUILD_TARGET_ARCH) != "amd64" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="msvcrdll" Name="msvcr71.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\msvcr71.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- EFI firmware -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_EFIFW_PACKING) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxEFI32.fd" Name="VBoxEFI32.fd" DiskId="$(var.Property_DiskIdCommon)"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxEFI32.fd" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxEFI64.fd" Name="VBoxEFI64.fd" DiskId="$(var.Property_DiskIdCommon)"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxEFI64.fd" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- VBox guest additions -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_ADDITIONS_PACKING) = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
5514b00d9e46e911d6651e5353125d032d106efevboxsync <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso" DiskId="$(var.Property_DiskIdCommon)"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_MULTIARCH_GUEST_ADDITIONS_ISO)\VBoxGuestAdditions.iso" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?else ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\additions\VBoxGuestAdditions.iso" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Include key for VBox version -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?include $(env.PATH_TARGET)\VBoxKey.wxi ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component> <!-- MainBinaries -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Qt accessible plugins -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_Accessible" Name="accessible">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_QtAccessible" Guid="12040EF9-D4A8-4FB2-A69C-CA2F5C354A45" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_qtaccessiblewidgets4.dll" Name="qtaccessiblewidgets4.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\accessible\qtaccessiblewidgets4.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Python bindings -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_SDK" Name="sdk">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_SDKInstall" Name="install">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_VBoxPyInst" Guid="C9A40306-5102-11DE-A7BA-C3C555D89593" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_vboxapisetup.py" Name="vboxapisetup.py" DiskId="$(var.Property_DiskIdCommon)"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapisetup.py" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_SDKVBoxAPI" Name="vboxapi">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_VBoxPyMod" Guid="DF19CB76-5102-11DE-943B-13C755D89593" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file___init__.py" Name="__init__.py" DiskId="$(var.Property_DiskIdCommon)"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\__init__.py" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VirtualBox_constants.py" Name="VirtualBox_constants.py" DiskId="$(var.Property_DiskIdCommon)"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\VirtualBox_constants.py" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_CROGL) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_VBoxCROpenGL" Guid="874A1297-835A-491D-8A9D-7E723BC29EE7" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxOGLhostcrutil.dll" Name="VBoxOGLhostcrutil.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxOGLhostcrutil.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxOGLhosterrorspu.dll" Name="VBoxOGLhosterrorspu.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxOGLhosterrorspu.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxOGLrenderspu.dll" Name="VBoxOGLrenderspu.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxOGLrenderspu.dll" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxSharedCrOpenGL.dll" Name="VBoxSharedCrOpenGL.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxSharedCrOpenGL.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- SDL plugins -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_VBoxSDLBinaries" Guid="F09D5FD9-E176-42B0-90A9-481BB18B0CB4" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxSDL.exe" Name="VBoxSDL.exe"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\VBoxSDL.exe" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_SDL.dll" Name="SDL.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\SDL.dll" />
225ca6d3ef738902dab207ecb9354b64430962bcvboxsync<?if $(env.VBOX_WITH_SECURELABEL) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_SDL_ttf.dll" Name="SDL_ttf.dll"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\SDL_ttf.dll" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component> <!-- SDL plugins -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Webservice -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_VBoxWebService" Guid="DD404F04-9874-43E9-AEE2-7762924D922E">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <File Id="file_VBoxWebSrv.exe" Name="VBoxWebSrv.exe"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync Source="$(env.PATH_OUT)\bin\vboxwebsrv.exe" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Component>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_VBoxPythonBinding" Guid="293D7E11-78DA-4C31-AEED-AE2FE42F6881">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Condition>PYTHON_INSTALLED</Condition>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Component>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory> <!-- Installation directory -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory> <!-- Windows program files directory -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- Set up special directory IDs for referencing to the start menu
d97357e2036109245c83ba553d0290212e28ea40vboxsync or the Quick Launch bar.
d97357e2036109245c83ba553d0290212e28ea40vboxsync See: http://msdn.microsoft.com/en-us/library/aa368276.aspx
d97357e2036109245c83ba553d0290212e28ea40vboxsync http://wix.mindcapers.com/wiki/Shortcuts_in_WiX -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="ProgramMenuFolder">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_StartMenuVBox" Name="$(env.VBOX_PRODUCT)"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="DesktopFolder" Name="Desktop"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Directory Id="AppDataFolder" Name="AppData">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_AppDataMicrosoft" Name="Microsoft">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_AppDataMSIE" Name="Internet Explorer">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Directory Id="dir_QuicklaunchFolder" Name="Quick Launch"/>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Directory>
d97357e2036109245c83ba553d0290212e28ea40vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <!-- Shortcut(s) in start menu -->
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_StartMenuVBox" Guid="C2DC321A-CE63-40EE-8A98-724DF8BD12FB" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Shortcut Id="sc_StartMenuVBox" Directory="dir_StartMenuVBox" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Target="[INSTALLDIR]VirtualBox.exe" WorkingDirectory="INSTALLDIR"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Type="string" Value="installed" KeyPath="yes" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <?include $(env.PATH_TARGET)\Shortcuts_StartMenu.wxi ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Component>
d97357e2036109245c83ba553d0290212e28ea40vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_DesktopShortcut" Guid="668F8A1A-F5CE-48B3-BB1A-3042EE27B279" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Condition>INSTALLDESKTOPSHORTCUT</Condition>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Shortcut Id="sc_DesktopVBox" Directory="DesktopFolder" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Target="[INSTALLDIR]VirtualBox.exe" WorkingDirectory="INSTALLDIR"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)" Type="string"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Value="installed" KeyPath="yes" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Component>
d97357e2036109245c83ba553d0290212e28ea40vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Component Id="cp_QuickLaunchVBox" Guid="CC19E026-938A-41CB-8E77-3F33296244B6" Win64="$(var.Property_Win64)">
d97357e2036109245c83ba553d0290212e28ea40vboxsync <CreateFolder/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Condition>INSTALLQUICKLAUNCHSHORTCUT</Condition>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Shortcut Id="sc_QuickLaunchVBox" Directory="dir_QuicklaunchFolder" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Target="[INSTALLDIR]VirtualBox.exe" WorkingDirectory="INSTALLDIR"/>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Type="string" Value="installed" KeyPath="yes" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Component>
d97357e2036109245c83ba553d0290212e28ea40vboxsync </Directory> <!-- TARGETDIR -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <!-- Note: Feature IDs *must not* be renamed to use any prefixes or such,
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync otherwise this will break manual selection using the ADDLOCAL= syntax
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync when using the command line / scripts (see VBox manual). -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <Feature Id="VBoxApplication" Title="VirtualBox Application" Level="1"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Description="!(loc.VB_App)"
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync Absent="disallow" AllowAdvertise="no" >
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_StartMenuVBox" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_DesktopShortcut" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_QuickLaunchVBox" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_Docs" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_NLS" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_MainCOM" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_MainBinaries" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_QtAccessible" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_VBoxPyInst" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_VBoxPyMod" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_CROGL) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_VBoxCROpenGL" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_VBoxSDLBinaries" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_VBoxWebService" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_VBoxDrv" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Feature Id="VBoxUSB" Title="VirtualBox USB Support" Level="1"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Description="!(loc.VB_USBDriver)"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync Absent="allow" AllowAdvertise="no" >
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_USBFilterDriver" />
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_USBDeviceDriver" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Feature>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Feature Id="VBoxNetwork" Title="VirtualBox Networking" Level="1"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Description="!(loc.VB_Network)"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync Absent="allow" AllowAdvertise="no" >
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <Feature Id="VBoxNetworkFlt" Title="VirtualBox Bridged Networking" Level="1"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync Description="!(loc.VB_NetFltDriver)"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync Absent="allow" AllowAdvertise="no" >
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <ComponentRef Id="cp_NetFltDriver" />
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync </Feature>
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <Feature Id="VBoxNetworkAdp" Title="VirtualBox Host-Only Networking" Level="1"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync Description="!(loc.VB_NetAdpDriver)"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync Absent="allow" AllowAdvertise="no" >
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <ComponentRef Id="cp_NetAdpDriver" />
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync </Feature>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Feature>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Feature Id="VBoxPython" Title="VirtualBox Python 2.x Support" Level="1"
d97357e2036109245c83ba553d0290212e28ea40vboxsync Description="!(loc.VB_Python)"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync Absent="allow" AllowAdvertise="no" >
d97357e2036109245c83ba553d0290212e28ea40vboxsync <ComponentRef Id="cp_VBoxPythonBinding" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Feature>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Feature>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- Include user interface definition. -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <?include UserInterface.wxi ?>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <InstallExecuteSequence>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <!--
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync To debug the action sequences, do: "msiexec /i <VBox.msi> /lar <Logfile>"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync InstallUISequence (client side) is:
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync AppSearch
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync LaunchConditions
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync ValidateProductID
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync CostInitialize
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync FileCost
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync CostFinalize
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync ExecuteAction -> will pass control over to "InstallExecuteSequence"
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync The first six actions above will be repeated but skipped on the server
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync side if already run on the client side.
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync InstallExecuteSequence (server side) is:
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <First six action from InstallUISequence>
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync .
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync InstallInitialize
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync .
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync InstallFinalize
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync The actions between InstallInitialize and InstallFinalize will be gone through twice:
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync - The first time the installer creates an installation script containing all actions in the right
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync sequence which need to get executed in a batch later. At this point the launch conditions for
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync custom actions must be met already!
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync - The second time the generated installation script will be run as-is.
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync Also, the InstallUISequence and InstallExecuteSequence tables run in different sessions which
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync need public properties (that is, UPPERCASE properties).
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync -->
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <!-- AppSearch must be done before "RemoveExistingProducts" and before "FindRelatedProducts". -->
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <AppSearch Sequence="1"></AppSearch>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync <LaunchConditions After="AppSearch" />
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <!-- First install the new version and then remove the old version. This is more efficient. -->
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <InstallExecute Before="RemoveExistingProducts" />
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <RemoveExistingProducts Before="InstallFinalize" />
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Custom Action="ca_OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR) AND (NOT EXISTINGINSTALLDIR)]]></Custom>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Custom Action="ca_DefaultTargetDir" Before="FileCost" ><![CDATA[NOT Installed AND (NOT INSTALLDIR) AND EXISTINGINSTALLDIR]]></Custom>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Custom Action="ca_UninstallTAPInstances" Before="InstallFiles" >1</Custom>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <!-- Create host-only interfaces on first-time install. -->
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3 AND (NOT PREVIOUSVERSIONSINSTALLED)]]></Custom>
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3 AND (NOT PREVIOUSVERSIONSINSTALLED)]]></Custom>
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <!-- Don't remove the host-only interfaces on update, only on uninstall. -->
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <Custom Action="ca_RemoveHostOnlyInterfaces" After="ca_UninstallNetFlt" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <!-- First stop the existing host-only interfaces on updat ... -->
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <Custom Action="ca_StopHostOnlyInterfaces" Before="ca_UpdateHostOnlyInterfaces" ><![CDATA[UPGRADINGPRODUCTCODE]]></Custom>
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <!-- ... then do the actual driver update. -->
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <Custom Action="ca_UpdateHostOnlyInterfacesArgs" Before="ca_UpdateHostOnlyInterfaces" ><![CDATA[Installed AND UPGRADINGPRODUCTCODE]]></Custom>
950867fcd91ff725bbcc44623ae3d8888ed32da2vboxsync <Custom Action="ca_UpdateHostOnlyInterfaces" Before="InstallFiles" ><![CDATA[Installed AND UPGRADINGPRODUCTCODE]]></Custom>
d97357e2036109245c83ba553d0290212e28ea40vboxsync
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Custom Action="ca_RollbackInstallNetFltArgs" Before="ca_RollbackInstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Custom Action="ca_RollbackInstallNetFlt" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Custom Action="ca_InstallNetFltArgs" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Custom Action="ca_InstallNetFlt" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
d97357e2036109245c83ba553d0290212e28ea40vboxsync
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Custom Action="ca_UninstallNetFlt" After="InstallInitialize" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync<?endif?>
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" ><![CDATA[&VBoxPython=3]]></Custom>
7a505e86d62cedfb3ca6d0e887a82277c7e92311vboxsync <Custom Action="ca_InstallPythonAPI" Before="InstallFinalize" ><![CDATA[&VBoxPython=3]]></Custom>
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync <Custom Action="ca_InstallBrandingArgs" Before="ca_InstallBranding" ><![CDATA[NOT REMOVE]]></Custom>
d97357e2036109245c83ba553d0290212e28ea40vboxsync <Custom Action="ca_InstallBranding" Before="InstallFinalize" ><![CDATA[NOT REMOVE]]></Custom>
254e593d079dbddd48135ebe2893334eb36dcbafvboxsync
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <!-- Uninstall branding on complete uninstall, not on update. -->
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <Custom Action="ca_UninstallBrandingArgs" Before="ca_UninstallBranding" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>
46c75ae905ff2f34982b5b2b9aafdf3b32644eb0vboxsync <Custom Action="ca_UninstallBranding" Before="InstallFinalize" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </InstallExecuteSequence>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync </Product>
dee9e52b1688c0617890cbbd8a8488f9f315d1b7vboxsync</Wix>
d97357e2036109245c83ba553d0290212e28ea40vboxsync