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 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
---|
28 | xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
|
---|
29 |
|
---|
30 | <?include Defines.wxi ?>
|
---|
31 |
|
---|
32 | <Module Id="msm_VBoxNetworkAdp6"
|
---|
33 | Language="!(loc.LANG)"
|
---|
34 | Version="$(var.Property_Version)">
|
---|
35 |
|
---|
36 | <Package Id="f6f83806-bd72-477d-af1d-275dca62cb6d"
|
---|
37 | Keywords="Installer, Setup"
|
---|
38 | Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) NetAdp6 installation package"
|
---|
39 | Comments="$(env.VBOX_PRODUCT) NetAdp6 installation package"
|
---|
40 | Manufacturer="$(env.VBOX_VENDOR)"
|
---|
41 | InstallerVersion="200"
|
---|
42 | AdminImage="yes"
|
---|
43 | InstallPrivileges="elevated"
|
---|
44 | Platform="$(var.Property_Platform)"
|
---|
45 | SummaryCodepage="1252"/>
|
---|
46 |
|
---|
47 | <?include CommonProperties.wxi ?>
|
---|
48 | <?include PublicProperties.wxi ?>
|
---|
49 |
|
---|
50 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
51 | <Property Id="localMSMNetworkType" Value="NDIS6" />
|
---|
52 | <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed"/>
|
---|
53 | <Substitution Table="CustomAction" Row="setNetworkTypeADP6" Column="Target" Value="[=passedNetworkType]"/>
|
---|
54 | <CustomAction Id="setNetworkTypeADP6" Property="localMSMNetworkType" Value="[localMSMNetworkType]" Execute="immediate" />
|
---|
55 | <CustomAction Id="correctNetworkTypeADP6" Property="localMSMNetworkType" Value="NDIS5" Execute="immediate" />
|
---|
56 | <?endif ?>
|
---|
57 |
|
---|
58 | <!-- Here comes the file/directory list -->
|
---|
59 | <Directory Id="TARGETDIR" Name="SourceDir">
|
---|
60 | <Directory Id="msm_VBoxNetworkAdp6Folder" FileSource=".">
|
---|
61 |
|
---|
62 | <?include VBoxMergeNetAdp6.wxi ?>
|
---|
63 |
|
---|
64 | </Directory> <!-- msm_VBoxNetworkAdp6Folder -->
|
---|
65 | </Directory> <!-- TARGETDIR -->
|
---|
66 |
|
---|
67 | <!-- Custom actions -->
|
---|
68 | <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
|
---|
69 | <?include VBoxMergeNetAdp6CA.wxi ?>
|
---|
70 |
|
---|
71 | <InstallExecuteSequence>
|
---|
72 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
73 | <Custom Action="setNetworkTypeADP6" After="CostInitialize"/>
|
---|
74 | <Custom Action="correctNetworkTypeADP6" After="setNetworkTypeADP6">
|
---|
75 | <![CDATA[(VersionNT < 600)]]>
|
---|
76 | </Custom>
|
---|
77 | <?endif ?>
|
---|
78 | <?include VBoxMergeNetAdp6Seq.wxi ?>
|
---|
79 | </InstallExecuteSequence>
|
---|
80 |
|
---|
81 | </Module>
|
---|
82 | </Wix>
|
---|