summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2015-02-03 12:12:01 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2015-02-03 12:12:01 +0000
commit23925cb6e3a4e9973b63bf5840b8269ba2805d85 (patch)
treec47d82688b09f48dab18aa6534fc7daabb9279a2 /src
parent30477e3cc0971f5cc364d81aa08545318ae921fd (diff)
downloadVirtualBox-svn-23925cb6e3a4e9973b63bf5840b8269ba2805d85.tar.gz
export to OSE
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@54070 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src')
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdp6.wxi30
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdp6.wxs54
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdp6CA.wxi31
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdp6Seq.wxi53
4 files changed, 168 insertions, 0 deletions
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdp6.wxi b/src/VBox/Installer/win/VBoxMergeNetAdp6.wxi
new file mode 100644
index 00000000000..df4882800d5
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdp6.wxi
@@ -0,0 +1,30 @@
+<!--
+ VirtualBox Windows Installation Script (WiX)
+
+ Copyright (C) 2006-2014 Oracle Corporation
+
+ This file is part of VirtualBox Open Source Edition (OSE), as
+ available from http://www.virtualbox.org. This file is free software;
+ you can redistribute it and/or modify it under the terms of the GNU
+ General Public License (GPL) as published by the Free Software
+ Foundation, in version 2 as it comes in the "COPYING" file of the
+ VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+ hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <Component Id="cp_NetAdp6Driver" Guid="945d9537-e60d-4bbf-9422-239739e31092" Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxNetAdp6.sys" Name="VBoxNetAdp6.sys" KeyPath="yes"
+ Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.sys" Checksum="yes"/>
+ <File Id="file_VBoxNetAdp6.inf" Name="VBoxNetAdp6.inf"
+ Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.inf" />
+<?if $(env.VBOX_SIGNING_MODE) != none ?>
+ <File Id="file_VBoxNetAdp6.cat" Name="VBoxNetAdp6.cat"
+ Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.cat" />
+<?endif ?>
+ <Condition><![CDATA[NETWORKTYPE="NDIS6"]]></Condition>
+ </Component>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdp6.wxs b/src/VBox/Installer/win/VBoxMergeNetAdp6.wxs
new file mode 100644
index 00000000000..81ee41f3449
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdp6.wxs
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+
+ Copyright (C) 2006-2014 Oracle Corporation
+
+ This file is part of VirtualBox Open Source Edition (OSE), as
+ available from http://www.virtualbox.org. This file is free software;
+ you can redistribute it and/or modify it under the terms of the GNU
+ General Public License (GPL) as published by the Free Software
+ Foundation, in version 2 as it comes in the "COPYING" file of the
+ VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+ hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+-->
+
+<?include Properties.wxi ?>
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <Module Id="msm_VBoxNetworkAdp6"
+ Language="!(loc.LANG)"
+ Version="$(var.Property_Version)">
+
+ <Package Id="f6f83806-bd72-477d-af1d-275dca62cb6d"
+ Keywords="Installer, Setup"
+ Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) NetAdp6 installation package"
+ Comments="$(env.VBOX_PRODUCT) NetAdp6 installation package"
+ Manufacturer="$(env.VBOX_VENDOR)"
+ InstallerVersion="200"
+ AdminImage="yes"
+ InstallPrivileges="elevated"
+ Platform="$(var.Property_Platform)"
+ SummaryCodepage="1252"/>
+
+ <!-- Here comes the file/directory list -->
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="msm_VBoxNetworkAdp6Folder" FileSource=".">
+
+ <?include VBoxMergeNetAdp6.wxi ?>
+
+ </Directory> <!-- msm_VBoxNetworkAdp6Folder -->
+ </Directory> <!-- TARGETDIR -->
+
+ <!-- Custom actions -->
+ <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
+ <?include VBoxMergeNetAdp6CA.wxi ?>
+
+ <InstallExecuteSequence>
+ <?include VBoxMergeNetAdp6Seq.wxi ?>
+ </InstallExecuteSequence>
+
+ </Module>
+</Wix>
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdp6CA.wxi b/src/VBox/Installer/win/VBoxMergeNetAdp6CA.wxi
new file mode 100644
index 00000000000..c278c807119
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdp6CA.wxi
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+
+ Copyright (C) 2006-2014 Oracle Corporation
+
+ This file is part of VirtualBox Open Source Edition (OSE), as
+ available from http://www.virtualbox.org. This file is free software;
+ you can redistribute it and/or modify it under the terms of the GNU
+ General Public License (GPL) as published by the Free Software
+ Foundation, in version 2 as it comes in the "COPYING" file of the
+ VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+ hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <CustomAction Id="ca_CreateHostOnlyInterfaceNDIS6" BinaryKey="VBoxInstallHelper" DllEntry="Ndis6CreateHostOnlyInterface" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_CreateHostOnlyInterfaceNDIS6Args" Property="ca_CreateHostOnlyInterfaceNDIS6" Value="[msm_VBoxNetworkAdp6Folder]" Execute="immediate"/>
+
+ <CustomAction Id="ca_RemoveHostOnlyInterfacesNDIS6" BinaryKey="VBoxInstallHelper" DllEntry="RemoveHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_StopHostOnlyInterfacesNDIS6" BinaryKey="VBoxInstallHelper" DllEntry="StopHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
+
+ <CustomAction Id="ca_UpdateHostOnlyInterfacesNDIS6" BinaryKey="VBoxInstallHelper" DllEntry="Ndis6UpdateHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_UpdateHostOnlyInterfacesNDIS6Args" Property="ca_UpdateHostOnlyInterfacesNDIS6" Value="[msm_VBoxNetworkAdp6Folder]" Execute="immediate"/>
+
+ <CustomAction Id="ca_UninstallNetAdp6" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetAdp" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_UninstallNetAdp6Args" Property="ca_UninstallNetAdp6" Value="[msm_VBoxNetworkAdp6Folder]" Execute="immediate"/>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdp6Seq.wxi b/src/VBox/Installer/win/VBoxMergeNetAdp6Seq.wxi
new file mode 100644
index 00000000000..bbb0752bc46
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdp6Seq.wxi
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+
+ Copyright (C) 2006-2014 Oracle Corporation
+
+ This file is part of VirtualBox Open Source Edition (OSE), as
+ available from http://www.virtualbox.org. This file is free software;
+ you can redistribute it and/or modify it under the terms of the GNU
+ General Public License (GPL) as published by the Free Software
+ Foundation, in version 2 as it comes in the "COPYING" file of the
+ VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+ hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <!-- Create host-only interfaces on first-time install -->
+ <Custom Action="ca_CreateHostOnlyInterfaceNDIS6Args" Before="ca_CreateHostOnlyInterfaceNDIS6" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
+ <?else ?>
+ <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_CreateHostOnlyInterfaceNDIS6" Before="InstallFinalize" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
+ <?else ?>
+ <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
+ <?endif ?>
+ </Custom>
+ <!-- Don't remove the host-only interfaces on update, only on uninstall -->
+ <Custom Action="ca_RemoveHostOnlyInterfacesNDIS6" After="InstallInitialize" >
+ <![CDATA[NOT (UPGRADINGPRODUCTCODE) AND (Installed) AND (REMOVE="ALL")]]>
+ </Custom>
+ <!-- First stop the existing host-only interfaces on update ... -->
+ <Custom Action="ca_StopHostOnlyInterfacesNDIS6" After="InstallInitialize" >
+ <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
+ </Custom>
+
+ <Custom Action="ca_UninstallNetAdp6Args" Before="ca_UninstallNetAdp6" >
+ <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
+ </Custom>
+ <Custom Action="ca_UninstallNetAdp6" After="ca_StopHostOnlyInterfacesNDIS6" >
+ <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
+ </Custom>
+
+<?endif ?>
+
+</Include>