1 | <!--
|
---|
2 | VirtualBox Windows Installation Script (WiX)
|
---|
3 | -->
|
---|
4 | <!--
|
---|
5 | Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
6 |
|
---|
7 | This file is part of VirtualBox base platform packages, as
|
---|
8 | available from https://www.virtualbox.org.
|
---|
9 |
|
---|
10 | This program is free software; you can redistribute it and/or
|
---|
11 | modify it under the terms of the GNU General Public License
|
---|
12 | as published by the Free Software Foundation, in version 3 of the
|
---|
13 | License.
|
---|
14 |
|
---|
15 | This program is distributed in the hope that it will be useful, but
|
---|
16 | WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
18 | General Public License for more details.
|
---|
19 |
|
---|
20 | You should have received a copy of the GNU General Public License
|
---|
21 | along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
22 |
|
---|
23 | SPDX-License-Identifier: GPL-3.0-only
|
---|
24 | -->
|
---|
25 |
|
---|
26 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
---|
27 |
|
---|
28 | <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
|
---|
29 | <Component Id="cp_NetFltDriver" Guid="F0A02F6B-A349-42f8-A2EB-569DCAAAF846" Bitness="$(var.Property_Bitness)" Condition="(localMSMNetworkType="NDIS5")">
|
---|
30 | <File Id="file_VBoxNetFlt.sys" Name="VBoxNetFlt.sys" KeyPath="yes" Source="$(env.PATH_OUT)\bin\VBoxNetFlt.sys" Checksum="yes" />
|
---|
31 | <File Id="file_VBoxNetFltNobj.sys" Name="VBoxNetFltNobj.dll" Source="$(env.PATH_OUT)\bin\VBoxNetFltNobj.dll" Checksum="yes" />
|
---|
32 | <File Id="file_VBoxNetFltM.inf" Name="VBoxNetFltM.inf" Source="$(env.PATH_OUT)\bin\VBoxNetFltM.inf" />
|
---|
33 | <File Id="file_VBoxNetFlt.inf" Name="VBoxNetFlt.inf" Source="$(env.PATH_OUT)\bin\VBoxNetFlt.inf" />
|
---|
34 | <?if $(env.VBOX_SIGNING_MODE) != none ?>
|
---|
35 | <File Id="file_VBoxNetFlt.cat" Name="VBoxNetFlt.cat" Source="$(env.PATH_OUT)\bin\VBoxNetFlt.cat" />
|
---|
36 | <?endif?>
|
---|
37 | </Component>
|
---|
38 |
|
---|
39 | <?endif?> <!-- VBOX_WITH_NETFLT -->
|
---|
40 |
|
---|
41 | </Include>
|
---|