VirtualBox

Changeset 41241 in vbox for trunk


Ignore:
Timestamp:
May 10, 2012 2:50:27 PM (13 years ago)
Author:
vboxsync
Message:

Windows host installer: Try to re-create the default host-if when upgrading from <= 4.1.14.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r41024 r41241  
    33    VirtualBox Windows Installation Script (WiX)
    44
    5     Copyright (C) 2006-2011 Oracle Corporation
     5    Copyright (C) 2006-2012 Oracle Corporation
    66
    77    This file is part of VirtualBox Open Source Edition (OSE), as
     
    105105            <!-- Flag is set if the install will trigger an upgrade of an existing install -->
    106106            <UpgradeVersion Property="PREVIOUSVERSIONSINSTALLED" Minimum="1.0.0.0" Maximum="$(var.Property_Version)" IncludeMaximum="yes" />
     107           
     108            <!-- Set a flag if we upgrade from versions <= 4.1.4 (later: 4.2.0) that might have removed
     109                 (additional) host-only interfaces. -->
     110            <UpgradeVersion Property="BUG_HOSTONLYIFSREMOVED" Minimum="1.0.0.0" Maximum="4.1.14.*" IncludeMaximum="yes" />
    107111
    108112        </Upgrade>
     
    806810<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
    807811            <!-- Create host-only interfaces on first-time install. -->
    808             <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3 AND (NOT PREVIOUSVERSIONSINSTALLED)]]></Custom>
    809             <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3 AND (NOT PREVIOUSVERSIONSINSTALLED)]]></Custom>
     812            <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3 AND (NOT PREVIOUSVERSIONSINSTALLED OR BUG_HOSTONLYIFSREMOVED)]]></Custom>
     813            <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3 AND (NOT PREVIOUSVERSIONSINSTALLED OR BUG_HOSTONLYIFSREMOVED)]]></Custom>
    810814            <!-- Don't remove the host-only interfaces on update, only on uninstall. -->
    811815            <Custom Action="ca_RemoveHostOnlyInterfaces" After="ca_UninstallNetFlt" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>
Note: See TracChangeset for help on using the changeset viewer.

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