VirtualBox

Changeset 42731 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Aug 9, 2012 8:30:50 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
79940
Message:

BUGZ:5904 Changed install squence.

File:
1 edited

Legend:

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

    r42605 r42731  
    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" />
    111107
    112108        </Upgrade>
     
    796792
    797793            <!-- First install the new version and then remove the old version. This is more efficient. -->
    798             <InstallExecute Before="RemoveExistingProducts" />
    799             <RemoveExistingProducts Before="InstallFinalize" />
     794            <RemoveExistingProducts Before="InstallValidate" />
    800795
    801796            <Custom Action="ca_OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR) AND (NOT EXISTINGINSTALLDIR)]]></Custom>
     
    805800<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
    806801            <!-- Create host-only interfaces on first-time install. -->
    807             <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3 AND (NOT PREVIOUSVERSIONSINSTALLED OR BUG_HOSTONLYIFSREMOVED)]]></Custom>
    808             <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3 AND (NOT PREVIOUSVERSIONSINSTALLED OR BUG_HOSTONLYIFSREMOVED)]]></Custom>
     802            <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3]]></Custom>
     803            <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3]]></Custom>           
    809804            <!-- Don't remove the host-only interfaces on update, only on uninstall. -->
    810805            <Custom Action="ca_RemoveHostOnlyInterfaces" After="ca_UninstallNetFlt" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>
    811             <!-- First stop the existing host-only interfaces on updat ... -->
     806            <!-- First stop the existing host-only interfaces on update ... -->
    812807            <Custom Action="ca_StopHostOnlyInterfaces" Before="ca_UpdateHostOnlyInterfaces" ><![CDATA[UPGRADINGPRODUCTCODE]]></Custom>
    813808            <!-- ... then do the actual driver update. -->
Note: See TracChangeset for help on using the changeset viewer.

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