1 | <?xml version="1.0"?>
|
---|
2 | <!--
|
---|
3 | VirtualBox Windows Installation Script (WiX)
|
---|
4 | -->
|
---|
5 | <!--
|
---|
6 | Copyright (C) 2006-2022 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 | <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
|
---|
31 | <Component Id="cp_NetFltDriver" Guid="F0A02F6B-A349-42f8-A2EB-569DCAAAF846" Win64="$(var.Property_Win64)">
|
---|
32 | <File Id="file_VBoxNetFlt.sys" Name="VBoxNetFlt.sys" KeyPath="yes"
|
---|
33 | Source="$(env.PATH_OUT)\bin\VBoxNetFlt.sys" Checksum="yes"/>
|
---|
34 | <File Id="file_VBoxNetFltNobj.sys" Name="VBoxNetFltNobj.dll"
|
---|
35 | Source="$(env.PATH_OUT)\bin\VBoxNetFltNobj.dll" Checksum="yes"/>
|
---|
36 | <File Id="file_VBoxNetFltM.inf" Name="VBoxNetFltM.inf"
|
---|
37 | Source="$(env.PATH_OUT)\bin\VBoxNetFltM.inf" />
|
---|
38 | <File Id="file_VBoxNetFlt.inf" Name="VBoxNetFlt.inf"
|
---|
39 | Source="$(env.PATH_OUT)\bin\VBoxNetFlt.inf" />
|
---|
40 | <?if $(env.VBOX_SIGNING_MODE) != none ?>
|
---|
41 | <File Id="file_VBoxNetFlt.cat" Name="VBoxNetFlt.cat"
|
---|
42 | Source="$(env.PATH_OUT)\bin\VBoxNetFlt.cat" />
|
---|
43 | <?endif ?>
|
---|
44 |
|
---|
45 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
46 | <Condition><![CDATA[(localMSMNetworkType="NDIS5")]]></Condition>
|
---|
47 | <?else ?>
|
---|
48 | <Condition><![CDATA[(NETWORKTYPE="NDIS5")]]></Condition>
|
---|
49 | <?endif ?>
|
---|
50 |
|
---|
51 | </Component>
|
---|
52 |
|
---|
53 | <?endif ?> <!-- VBOX_WITH_NETFLT -->
|
---|
54 |
|
---|
55 | </Include>
|
---|