1 | <?xml version="1.0"?>
|
---|
2 | <!--
|
---|
3 | VirtualBox Windows Installation Script (WiX)
|
---|
4 |
|
---|
5 | Copyright (C) 2006-2015 Oracle Corporation
|
---|
6 |
|
---|
7 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | available from http://www.virtualbox.org. This file is free software;
|
---|
9 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | General Public License (GPL) as published by the Free Software
|
---|
11 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | -->
|
---|
15 |
|
---|
16 | <Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
---|
17 | xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
|
---|
18 |
|
---|
19 | <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
|
---|
20 | <Custom Action="ca_RollbackInstallNetLwfArgs" Before="ca_RollbackInstallNetLwf" >
|
---|
21 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
22 | <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
|
---|
23 | <?else ?>
|
---|
24 | <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
|
---|
25 | <?endif ?>
|
---|
26 | </Custom>
|
---|
27 | <Custom Action="ca_RollbackInstallNetLwf" Before="ca_InstallNetLwf" >
|
---|
28 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
29 | <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
|
---|
30 | <?else ?>
|
---|
31 | <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
|
---|
32 | <?endif ?>
|
---|
33 | </Custom>
|
---|
34 | <Custom Action="ca_InstallNetLwfArgs" Before="ca_InstallNetLwf" >
|
---|
35 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
36 | <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
|
---|
37 | <?else ?>
|
---|
38 | <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
|
---|
39 | <?endif ?>
|
---|
40 | </Custom>
|
---|
41 | <Custom Action="ca_InstallNetLwf" Before="InstallFinalize" >
|
---|
42 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
43 | <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
|
---|
44 | <?else ?>
|
---|
45 | <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
|
---|
46 | <?endif ?>
|
---|
47 | </Custom>
|
---|
48 | <Custom Action="ca_RollbackUninstallNetLwfArgs" Before="ca_RollbackUninstallNetLwf" >
|
---|
49 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
50 | <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
|
---|
51 | <?else ?>
|
---|
52 | <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
|
---|
53 | <?endif ?>
|
---|
54 | </Custom>
|
---|
55 | <Custom Action="ca_RollbackUninstallNetLwf" Before="ca_UninstallNetLwf" >
|
---|
56 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
57 | <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
|
---|
58 | <?else ?>
|
---|
59 | <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
|
---|
60 | <?endif ?>
|
---|
61 | </Custom>
|
---|
62 | <Custom Action="ca_UninstallNetLwfArgs" Before="ca_UninstallNetLwf" >
|
---|
63 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
64 | <![CDATA[((UPGRADINGPRODUCTCODE) OR (REMOVE="ALL"))]]>
|
---|
65 | <?else ?>
|
---|
66 | <![CDATA[((UPGRADINGPRODUCTCODE) OR (REMOVE="ALL"))]]>
|
---|
67 | <?endif ?>
|
---|
68 | </Custom>
|
---|
69 | <Custom Action="ca_UninstallNetLwf" After="InstallInitialize" >
|
---|
70 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
71 | <![CDATA[((UPGRADINGPRODUCTCODE) OR (REMOVE="ALL"))]]>
|
---|
72 | <?else ?>
|
---|
73 | <![CDATA[((UPGRADINGPRODUCTCODE) OR (REMOVE="ALL"))]]>
|
---|
74 | <?endif ?>
|
---|
75 | </Custom>
|
---|
76 |
|
---|
77 | <?endif?> <!-- VBOX_WITH_NETFLT -->
|
---|
78 |
|
---|
79 | </Include>
|
---|