VirtualBox

source: vbox/trunk/src/VBox/Installer/win/VBoxMergeNetFlt.wxs@ 96407

Last change on this file since 96407 was 96407, checked in by vboxsync, 2 years ago

scm copyright and license note update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
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_VBoxNetworkFlt"
33 Language="!(loc.LANG)"
34 Version="$(var.Property_Version)">
35
36 <Package Id="687c000b-c74b-4336-a449-dd8b3c6a060e"
37 Keywords="Installer, Setup"
38 Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) NetFlt installation package"
39 Comments="$(env.VBOX_PRODUCT) NetFlt 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="Empty" />
52 <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed"/>
53 <Substitution Table="CustomAction" Row="setNetworkTypeFLT" Column="Target" Value="[=passedNetworkType]"/>
54 <CustomAction Id="setNetworkTypeFLT" Property="localMSMNetworkType" Value="[localMSMNetworkType]" Execute="immediate" />
55 <CustomAction Id="correctNetworkTypeFLT" 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_VBoxNetworkFltFolder" FileSource=".">
61
62 <?include VBoxMergeNetFlt.wxi ?>
63
64 </Directory> <!-- msm_VBoxNetworkFltFolder -->
65 </Directory> <!-- TARGETDIR -->
66
67 <!-- Custom actions -->
68 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
69 <?include VBoxMergeNetFltCA.wxi ?>
70
71 <InstallExecuteSequence>
72<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
73 <Custom Action="setNetworkTypeFLT" After="CostInitialize"/>
74 <Custom Action="correctNetworkTypeFLT" After="setNetworkTypeFLT">
75 <![CDATA[(VersionNT < 600)]]>
76 </Custom>
77<?endif ?>
78 <?include VBoxMergeNetFltSeq.wxi ?>
79 </InstallExecuteSequence>
80
81 </Module>
82</Wix>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette