VirtualBox

source: vbox/trunk/src/VBox/Installer/win/VBoxMergeNetLwfSeq.wxi@ 108540

Last change on this file since 108540 was 108468, checked in by vboxsync, 2 months ago

Windows host installer: Run uninstallation of the network drivers before uninstalling the support driver, tried to make more clear what the network driver installation does (there's a separate defect for that, see bugref:10873). bugref:10762

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1<!--
2 VirtualBox Windows Installation Script (WiX)
3-->
4<!--
5 Copyright (C) 2006-2024 Oracle and/or its affiliates.
6
7 This file is part of VirtualBox base platform packages, as
8 available from https://www.virtualbox.org.
9
10 This program is free software; you can redistribute it and/or
11 modify it under the terms of the GNU General Public License
12 as published by the Free Software Foundation, in version 3 of the
13 License.
14
15 This program is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, see <https://www.gnu.org/licenses>.
22
23 SPDX-License-Identifier: GPL-3.0-only
24-->
25
26<Include xmlns="http://wixtoolset.org/schemas/v4/wxs">
27
28<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
29
30 <!--
31 Initial (first) installation.
32 -->
33
34 <!-- Rollback tries to uninstall the driver if installation has failed. -->
35 <Custom Action="ca_RollbackInstallNetLwfArgs" Before="ca_RollbackInstallNetLwf"
36 Condition="$cp_NetLwfDriver=3 AND (NOT Installed)" />
37
38 <Custom Action="ca_RollbackInstallNetLwf" Before="ca_InstallNetLwf"
39 Condition="$cp_NetLwfDriver=3 AND (NOT Installed)" />
40
41 <Custom Action="ca_InstallNetLwfArgs" Before="ca_InstallNetLwf"
42 Condition="$cp_NetLwfDriver=3 AND (NOT Installed)" />
43
44 <Custom Action="ca_InstallNetLwf" Before="InstallFinalize"
45 Condition="$cp_NetLwfDriver=3 AND (NOT Installed)" />
46
47 <!--
48 Uninstallation or update.
49
50 Note: On update we also uninstall the current VBoxNetLwf driver first before installing
51 the new version.
52 -->
53
54 <!-- Rollback tries to re-install the driver if uninstallation has failed. -->
55 <Custom Action="ca_RollbackUninstallNetLwfArgs" Before="ca_RollbackUninstallNetLwf"
56 Condition="(UPGRADINGPRODUCTCODE) OR (REMOVE=&quot;ALL&quot;)" />
57
58 <Custom Action="ca_RollbackUninstallNetLwf" Before="ca_UninstallNetLwf"
59 Condition="(UPGRADINGPRODUCTCODE) OR (REMOVE=&quot;ALL&quot;)" />
60
61 <Custom Action="ca_UninstallNetLwfArgs" Before="ca_UninstallNetLwf"
62 Condition="(UPGRADINGPRODUCTCODE) OR (REMOVE=&quot;ALL&quot;)" />
63
64 <!-- Needs to be uninstalled before VBoxSUP gets removed. -->
65 <Custom Action="ca_UninstallNetLwf" Before="ca_VBoxSupDrvUninst"
66 Condition="(UPGRADINGPRODUCTCODE) OR (REMOVE=&quot;ALL&quot;)" />
67
68<?endif?> <!-- VBOX_WITH_NETFLT -->
69
70</Include>
Note: See TracBrowser for help on using the repository browser.

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