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