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_SIGNING_MODE) != none ?>
|
---|
31 | <Component Id="cp_NetAdp6DriverCat_PreW10" Guid="40aab6d8-a9ca-41bd-3c5e-bd768d44faa7" Win64="$(var.Property_Win64)">
|
---|
32 | <File Id="file_VBoxNetAdp6_PreW10.cat" Name="VBoxNetAdp6.cat" Source="$(env.PATH_OUT)\bin\VBoxNetAdp6-PreW10.cat" />
|
---|
33 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
34 | <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (NOT VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
35 | <?else ?>
|
---|
36 | <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (NOT VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
37 | <?endif ?>
|
---|
38 | </Component>
|
---|
39 | <Component Id="cp_NetAdp6DriverCat_W10" Guid="37431619-c0ac-4f6a-029e-6a8ac4cd58ad" Win64="$(var.Property_Win64)">
|
---|
40 | <File Id="file_VBoxNetAdp6_W10.cat" Name="VBoxNetAdp6.cat" Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.cat" />
|
---|
41 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
42 | <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
43 | <?else ?>
|
---|
44 | <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition>
|
---|
45 | <?endif ?>
|
---|
46 | </Component>
|
---|
47 | <?endif ?>
|
---|
48 |
|
---|
49 | <Component Id="cp_NetAdp6Driver" Guid="945d9537-e60d-4bbf-9422-239739e31092" Win64="$(var.Property_Win64)">
|
---|
50 | <File Id="file_VBoxNetAdp6.sys" Name="VBoxNetAdp6.sys" KeyPath="yes"
|
---|
51 | Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.sys" Checksum="yes"/>
|
---|
52 | <File Id="file_VBoxNetAdp6.inf" Name="VBoxNetAdp6.inf"
|
---|
53 | Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.inf" />
|
---|
54 |
|
---|
55 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
56 | <Condition><![CDATA[(localMSMNetworkType="NDIS6")]]></Condition>
|
---|
57 | <?else ?>
|
---|
58 | <Condition><![CDATA[(NETWORKTYPE="NDIS6")]]></Condition>
|
---|
59 | <?endif ?>
|
---|
60 |
|
---|
61 | </Component>
|
---|
62 |
|
---|
63 | </Include>
|
---|