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 | <CustomAction Id="ca_InstallNetFlt" DllEntry="InstallNetFlt" Execute="deferred" Return="check" Impersonate="no" BinaryRef="VBoxInstallHelper" />
|
---|
30 | <CustomAction Id="ca_InstallNetFltArgs" Property="ca_InstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate" />
|
---|
31 |
|
---|
32 | <CustomAction Id="ca_RollbackInstallNetFlt" DllEntry="UninstallNetFlt" Execute="rollback" Impersonate="no" BinaryRef="VBoxInstallHelper" />
|
---|
33 | <CustomAction Id="ca_RollbackInstallNetFltArgs" Property="ca_RollbackInstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate" />
|
---|
34 |
|
---|
35 | <CustomAction Id="ca_UninstallNetFlt" DllEntry="UninstallNetFlt" Execute="deferred" Return="check" Impersonate="no" BinaryRef="VBoxInstallHelper" />
|
---|
36 | <CustomAction Id="ca_UninstallNetFltArgs" Property="ca_UninstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate" />
|
---|
37 |
|
---|
38 | <CustomAction Id="ca_RollbackUninstallNetFlt" DllEntry="InstallNetFlt" Execute="rollback" Impersonate="no" BinaryRef="VBoxInstallHelper" />
|
---|
39 | <CustomAction Id="ca_RollbackUninstallNetFltArgs" Property="ca_RollbackUninstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate" />
|
---|
40 | <?endif?>
|
---|
41 |
|
---|
42 | </Include>
|
---|