1 | <?xml version="1.0"?>
|
---|
2 | <!--
|
---|
3 | VirtualBox Windows Installation Script (WiX)
|
---|
4 | -->
|
---|
5 | <!--
|
---|
6 | Copyright (C) 2006-2020 Oracle Corporation
|
---|
7 |
|
---|
8 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | available from http://www.virtualbox.org. This file is free software;
|
---|
10 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | General Public License (GPL) as published by the Free Software
|
---|
12 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
13 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
14 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | -->
|
---|
16 |
|
---|
17 | <Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
---|
18 | xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
|
---|
19 |
|
---|
20 | <Directory Id="dir_VBoxUSBFilter" Name="filter">
|
---|
21 | <?if $(env.VBOX_SIGNING_MODE)!= none ?>
|
---|
22 | <Component Id="cp_USBFilterDriverCat_PreW10" Guid="ef18fb4d-4530-40db-2957-de2dc90243ab" Win64="$(var.Property_Win64)">
|
---|
23 | <Condition><![CDATA[(NOT VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
24 | <File Id="file_VBoxUSBMon_PreW10.cat" Name="VBoxUSBMon.cat" Source="$(env.PATH_OUT)\bin\VBoxUSBMon-PreW10.cat" />
|
---|
25 | </Component>
|
---|
26 | <Component Id="cp_USBFilterDriverCat_W10" Guid="341ce4ca-d00e-4a43-f4e3-453eacc6b493" Win64="$(var.Property_Win64)">
|
---|
27 | <Condition><![CDATA[(VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
28 | <File Id="file_VBoxUSBMon_W10.cat" Name="VBoxUSBMon.cat" Source="$(env.PATH_OUT)\bin\VBoxUSBMon.cat" />
|
---|
29 | </Component>
|
---|
30 | <?endif ?>
|
---|
31 | <Component Id="cp_USBFilterDriver" Guid="B7D782D2-96DF-4775-A0E1-A76CF7B04B65" Win64="$(var.Property_Win64)">
|
---|
32 | <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes" DeleteFiles="yes"
|
---|
33 | Legacy="$(var.Property_DriverLegacy)" Sequence="3" PlugAndPlayPrompt="no"/>
|
---|
34 | <File Id="file_VBoxUSBMon.sys" Name="VBoxUSBMon.sys"
|
---|
35 | Source="$(env.PATH_OUT)\bin\VBoxUSBMon.sys" />
|
---|
36 | <File Id="file_VBoxUSBMon.inf" Name="VBoxUSBMon.inf"
|
---|
37 | Source="$(env.PATH_OUT)\bin\VBoxUSBMon.inf" />
|
---|
38 | </Component>
|
---|
39 | </Directory>
|
---|
40 |
|
---|
41 | <Directory Id="dir_VBoxUSBDevice" Name="device">
|
---|
42 | <?if $(env.VBOX_SIGNING_MODE)!= none ?>
|
---|
43 | <Component Id="cp_USBDeviceDriverCat_PreW10" Guid="43cc14cb-06e9-46c2-d507-20423150ccbd" Win64="$(var.Property_Win64)">
|
---|
44 | <Condition><![CDATA[(NOT VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
45 | <File Id="file_VBoxUSB_PreW10.cat" Name="VBoxUSB.cat" Source="$(env.PATH_OUT)\bin\VBoxUSB-PreW10.cat" />
|
---|
46 | </Component>
|
---|
47 | <Component Id="cp_USBDeviceDriverCat_W10" Guid="2127015e-7a96-4b8d-6015-b1e51a75b5ba" Win64="$(var.Property_Win64)">
|
---|
48 | <Condition><![CDATA[(VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
49 | <File Id="file_VBoxUSB_W10.cat" Name="VBoxUSB.cat" Source="$(env.PATH_OUT)\bin\VBoxUSB.cat" />
|
---|
50 | </Component>
|
---|
51 | <?endif ?>
|
---|
52 | <Component Id="cp_USBDeviceDriver" Guid="010FE46A-E358-43E2-8BDC-38BC8BEC82E0" Win64="$(var.Property_Win64)">
|
---|
53 | <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes" DeleteFiles="yes"
|
---|
54 | Legacy="$(var.Property_DriverLegacy)" Sequence="3" PlugAndPlayPrompt="no"/>
|
---|
55 | <File Id="file_VBoxUSB.sys" Name="VBoxUSB.sys"
|
---|
56 | Source="$(env.PATH_OUT)\bin\VBoxUSB.sys" />
|
---|
57 | <File Id="file_VBoxUSB.inf" Name="VBoxUSB.inf"
|
---|
58 | Source="$(env.PATH_OUT)\bin\VBoxUSB.inf" />
|
---|
59 | </Component>
|
---|
60 | </Directory>
|
---|
61 |
|
---|
62 | </Include>
|
---|