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 | <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
|
---|
31 |
|
---|
32 | <?if $(env.VBOX_SIGNING_MODE) != none ?>
|
---|
33 | <Component Id="cp_NetLwfDriverCat_PreW10" Guid="cede9469-b1bc-4194-348f-8799485a6283" Win64="$(var.Property_Win64)">
|
---|
34 | <File Id="file_VBoxNetLwf_PreW10.cat" Name="VBoxNetLwf.cat" Source="$(env.PATH_OUT)\bin\VBoxNetLwf-PreW10.cat" />
|
---|
35 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
36 | <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (NOT VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
37 | <?else ?>
|
---|
38 | <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (NOT VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
39 | <?endif ?>
|
---|
40 | </Component>
|
---|
41 | <Component Id="cp_NetLwfDriverCat_W10" Guid="0932500d-4d45-4d79-8693-3192528d7cae" Win64="$(var.Property_Win64)">
|
---|
42 | <File Id="file_VBoxNetLwf_W10.cat" Name="VBoxNetLwf.cat" Source="$(env.PATH_OUT)\bin\VBoxNetLwf.cat" />
|
---|
43 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
44 | <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
45 | <?else ?>
|
---|
46 | <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
47 | <?endif ?>
|
---|
48 | </Component>
|
---|
49 | <?endif ?>
|
---|
50 |
|
---|
51 | <Component Id="cp_NetLwfDriver" Guid="831b909d-f09a-4281-b6b0-99393fa4769d" Win64="$(var.Property_Win64)">
|
---|
52 | <File Id="file_VBoxNetLwf.sys" Name="VBoxNetLwf.sys" KeyPath="yes"
|
---|
53 | Source="$(env.PATH_OUT)\bin\VBoxNetLwf.sys" Checksum="yes"/>
|
---|
54 | <File Id="file_VBoxNetLwf.inf" Name="VBoxNetLwf.inf"
|
---|
55 | Source="$(env.PATH_OUT)\bin\VBoxNetLwf.inf" />
|
---|
56 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
57 | <Condition><![CDATA[(localMSMNetworkType="NDIS6")]]></Condition>
|
---|
58 | <?else ?>
|
---|
59 | <Condition><![CDATA[(NETWORKTYPE="NDIS6")]]></Condition>
|
---|
60 | <?endif ?>
|
---|
61 |
|
---|
62 | </Component>
|
---|
63 |
|
---|
64 | <?endif ?> <!-- VBOX_WITH_NETFLT -->
|
---|
65 |
|
---|
66 | </Include>
|
---|