VirtualBox

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

Last change on this file was 98103, checked in by vboxsync, 17 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
RevLine 
[51009]1<?xml version="1.0"?>
2<!--
3 VirtualBox Windows Installation Script (WiX)
[96313]4-->
5<!--
[98103]6 Copyright (C) 2006-2023 Oracle and/or its affiliates.
[51009]7
[96407]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
[51009]25-->
26
[51023]27<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
28 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
[51009]29
[51097]30<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
[51050]31 <!-- Create host-only interfaces on first-time install -->
[51225]32 <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" >
33 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
[53090]34 <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
[51225]35 <?else ?>
[53090]36 <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
[51225]37 <?endif ?>
38 </Custom>
39 <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" >
40 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
[53090]41 <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
[51225]42 <?else ?>
[53090]43 <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
[51225]44 <?endif ?>
45 </Custom>
[66385]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. -->
[51876]51 <Custom Action="ca_RemoveHostOnlyInterfaces" After="InstallInitialize" >
[52265]52 <![CDATA[NOT (UPGRADINGPRODUCTCODE) AND (Installed) AND (REMOVE="ALL")]]>
[51876]53 </Custom>
[66385]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. -->
[52265]57 <Custom Action="ca_StopHostOnlyInterfaces" After="InstallInitialize" >
[66385]58 <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
[51876]59 </Custom>
[53038]60
[66385]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. -->
[52824]66 <Custom Action="ca_UninstallNetAdpArgs" Before="ca_UninstallNetAdp" >
[66385]67 <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
[52824]68 </Custom>
[53038]69 <Custom Action="ca_UninstallNetAdp" After="ca_StopHostOnlyInterfaces" >
[66385]70 <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
[53090]71 </Custom>
[53038]72
[51097]73<?endif ?>
[51009]74
[51023]75</Include>
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use