VirtualBox

source: vbox/trunk/src/VBox/Installer/win/VBoxMergeNetAdpSeq.wxi@ 98417

Last change on this file since 98417 was 98103, checked in by vboxsync, 22 months ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.3 KB
Line 
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 <!-- Create host-only interfaces on first-time install -->
32 <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" >
33 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
34 <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
35 <?else ?>
36 <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
37 <?endif ?>
38 </Custom>
39 <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" >
40 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
41 <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
42 <?else ?>
43 <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
44 <?endif ?>
45 </Custom>
46 <!-- Remove the host-only interfaces on uninstall only. Includes
47 VBoxNetAdp driver uninstall.
48 @todo r=klaus Clean up this inconsistency by changing what the
49 install helper DLL does. It's very surprising behavior and needs
50 digging through a lot of code to understand the where and why. -->
51 <Custom Action="ca_RemoveHostOnlyInterfaces" After="InstallInitialize" >
52 <![CDATA[NOT (UPGRADINGPRODUCTCODE) AND (Installed) AND (REMOVE="ALL")]]>
53 </Custom>
54 <!-- Stop the host-only interfaces on update only. Driver still has to be
55 uninstalled, and the creation of interfaces in the new installer will
56 do the actual upgrading, preserving the interfaces. -->
57 <Custom Action="ca_StopHostOnlyInterfaces" After="InstallInitialize" >
58 <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
59 </Custom>
60
61 <!-- Uninstall the driver only on package upgrade, as for uninstall it is
62 included in ca_RemoveHostOnlyInterfaces.
63 @todo r=klaus Clean up this inconsistency by changing what the
64 install helper DLL does. It's very surprising behavior and needs
65 digging through a lot of code to understand the where and why. -->
66 <Custom Action="ca_UninstallNetAdpArgs" Before="ca_UninstallNetAdp" >
67 <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
68 </Custom>
69 <Custom Action="ca_UninstallNetAdp" After="ca_StopHostOnlyInterfaces" >
70 <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
71 </Custom>
72
73<?endif ?>
74
75</Include>
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