VirtualBox

source: vbox/trunk/src/VBox/Installer/win/VBoxMergeNetAdp6Seq.wxi@ 96313

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

src/VBox/Installer/win: comment fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1<?xml version="1.0"?>
2<!--
3 VirtualBox Windows Installation Script (WiX)
4-->
5<!--
6 Copyright (C) 2006-2020 Oracle Corporation
7
8 This file is part of VirtualBox Open Source Edition (OSE), as
9 available from http://www.virtualbox.org. This file is free software;
10 you can redistribute it and/or modify it under the terms of the GNU
11 General Public License (GPL) as published by the Free Software
12 Foundation, in version 2 as it comes in the "COPYING" file of the
13 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15-->
16
17<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
18 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
19
20<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
21 <!-- Create host-only interfaces on first-time install -->
22 <Custom Action="ca_CreateHostOnlyInterfaceNDIS6Args" Before="ca_CreateHostOnlyInterfaceNDIS6" >
23 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
24 <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
25 <?else ?>
26 <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
27 <?endif ?>
28 </Custom>
29 <Custom Action="ca_CreateHostOnlyInterfaceNDIS6" Before="InstallFinalize" >
30 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
31 <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
32 <?else ?>
33 <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
34 <?endif ?>
35 </Custom>
36 <!-- Remove the host-only interfaces on uninstall only. Includes
37 VBoxNetAdp6 driver uninstall.
38 @todo r=klaus Clean up this inconsistency by changing what the
39 install helper DLL does. It's very surprising behavior and needs
40 digging through a lot of code to understand the where and why. -->
41 <Custom Action="ca_RemoveHostOnlyInterfacesNDIS6" After="InstallInitialize" >
42 <![CDATA[NOT (UPGRADINGPRODUCTCODE) AND (Installed) AND (REMOVE="ALL")]]>
43 </Custom>
44 <!-- Stop the host-only interfaces on update only. Driver still has to be
45 uninstalled, and the creation of interfaces in the new installer will
46 do the actual upgrading, preserving the interfaces. -->
47 <Custom Action="ca_StopHostOnlyInterfacesNDIS6" After="InstallInitialize" >
48 <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
49 </Custom>
50
51 <!-- Uninstall the driver only on package upgrade, as for uninstall it is
52 included in ca_RemoveHostOnlyInterfaces.
53 @todo r=klaus Clean up this inconsistency by changing what the
54 install helper DLL does. It's very surprising behavior and needs
55 digging through a lot of code to understand the where and why. -->
56 <Custom Action="ca_UninstallNetAdp6Args" Before="ca_UninstallNetAdp6" >
57 <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
58 </Custom>
59 <Custom Action="ca_UninstallNetAdp6" After="ca_StopHostOnlyInterfacesNDIS6" >
60 <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
61 </Custom>
62
63<?endif ?>
64
65</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