VirtualBox

Changeset 38576 in vbox


Ignore:
Timestamp:
Aug 31, 2011 8:48:04 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73757
Message:

Windows host installer: Fixed command line component selection with ADDLOCAL.

Location:
trunk/src/VBox/Installer/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/UserInterface.wxi

    r37289 r38576  
    339339                Default="yes" Cancel="yes" Text="!(loc.ButtonText_Next)">
    340340<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
    341                 <Publish Event="NewDialog" Value="VBoxWarnDisconNetIfacesDlg"><![CDATA[(&ft_VBoxNetworkFlt=3) AND NOT(!ft_VBoxNetworkFlt=3)]]></Publish>
    342                 <Publish Event="NewDialog" Value="VBoxVerifyReadyDlg"><![CDATA[(&ft_VBoxNetworkFlt<3)]]></Publish>
     341                <Publish Event="NewDialog" Value="VBoxWarnDisconNetIfacesDlg"><![CDATA[(&VBoxNetworkFlt=3) AND NOT(!VBoxNetworkFlt=3)]]></Publish>
     342                <Publish Event="NewDialog" Value="VBoxVerifyReadyDlg"><![CDATA[(&VBoxNetworkFlt<3)]]></Publish>
    343343<?else ?>
    344344                <Publish Event="NewDialog" Value="VBoxVerifyReadyDlg">1</Publish>
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r38250 r38576  
    676676        </Directory> <!-- TARGETDIR -->
    677677
     678        <!-- Note: Feature IDs *must not* be renamed to use any prefixes or such,
     679                   otherwise this will break manual selection using the ADDLOCAL= syntax
     680                   when using the command line / scripts (see VBox manual). -->
    678681        <Feature Id="VBoxApplication" Title="VirtualBox Application" Level="1"
    679682                 Description="!(loc.VB_App)"
     
    708711            <ComponentRef Id="cp_VBoxDrv" />
    709712
    710             <Feature Id="ft_VBoxUSB" Title="VirtualBox USB Support" Level="1"
     713            <Feature Id="VBoxUSB" Title="VirtualBox USB Support" Level="1"
    711714                     Description="!(loc.VB_USBDriver)"
    712715                     ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" >
     
    716719
    717720<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
    718             <Feature Id="ft_VBoxNetwork" Title="VirtualBox Networking" Level="1"
     721            <Feature Id="VBoxNetwork" Title="VirtualBox Networking" Level="1"
    719722                     Description="!(loc.VB_Network)"
    720723                     ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" >
    721                  <Feature Id="ft_VBoxNetworkFlt" Title="VirtualBox Bridged Networking" Level="1"
     724                 <Feature Id="VBoxNetworkFlt" Title="VirtualBox Bridged Networking" Level="1"
    722725                          Description="!(loc.VB_NetFltDriver)"
    723726                          ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" >
    724727                     <ComponentRef Id="cp_NetFltDriver" />
    725728                 </Feature>
    726                  <Feature Id="ft_VBoxNetworkAdp" Title="VirtualBox Host-Only Networking" Level="1"
     729                 <Feature Id="VBoxNetworkAdp" Title="VirtualBox Host-Only Networking" Level="1"
    727730                          Description="!(loc.VB_NetAdpDriver)"
    728731                          ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" >
     
    733736
    734737<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
    735             <Feature Id="ft_VBoxPython" Title="VirtualBox Python 2.x Support" Level="1"
     738            <Feature Id="VBoxPython" Title="VirtualBox Python 2.x Support" Level="1"
    736739                    Description="!(loc.VB_Python)"
    737740                    ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" >
     
    757760            <Custom Action="ca_UninstallTAPInstances" Before="InstallFiles" >1</Custom>
    758761<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
    759             <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&ft_VBoxNetworkAdp=3]]></Custom>
    760             <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&ft_VBoxNetworkAdp=3]]></Custom>
     762            <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3]]></Custom>
     763            <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3]]></Custom>
    761764            <Custom Action="ca_RemoveHostOnlyInterfaces" After="ca_UninstallNetFlt" ></Custom>
    762765
    763             <Custom Action="ca_RollbackInstallNetFltArgs" Before="ca_RollbackInstallNetFlt" ><![CDATA[&ft_VBoxNetworkFlt=3]]></Custom>
    764             <Custom Action="ca_RollbackInstallNetFlt" Before="ca_InstallNetFlt" ><![CDATA[&ft_VBoxNetworkFlt=3]]></Custom>
    765             <Custom Action="ca_InstallNetFltArgs" Before="ca_InstallNetFlt" ><![CDATA[&ft_VBoxNetworkFlt=3]]></Custom>
    766             <Custom Action="ca_InstallNetFlt" Before="ca_CreateHostOnlyInterface" ><![CDATA[&ft_VBoxNetworkFlt=3]]></Custom>
    767 
    768             <Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" ><![CDATA[&ft_VBoxNetworkFlt=2]]></Custom>
    769             <Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" ><![CDATA[&ft_VBoxNetworkFlt=2]]></Custom>
    770             <Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" ><![CDATA[&ft_VBoxNetworkFlt=2]]></Custom>
    771             <Custom Action="ca_UninstallNetFlt" After="InstallInitialize" ><![CDATA[&ft_VBoxNetworkFlt=2]]></Custom>
    772 <?endif?>
    773             <Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" ><![CDATA[&ft_VBoxPython=3]]></Custom>
    774             <Custom Action="ca_InstallPythonAPI" Before="InstallFinalize" ><![CDATA[&ft_VBoxPython=3]]></Custom>
     766            <Custom Action="ca_RollbackInstallNetFltArgs" Before="ca_RollbackInstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
     767            <Custom Action="ca_RollbackInstallNetFlt" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
     768            <Custom Action="ca_InstallNetFltArgs" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
     769            <Custom Action="ca_InstallNetFlt" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>
     770
     771            <Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
     772            <Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
     773            <Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
     774            <Custom Action="ca_UninstallNetFlt" After="InstallInitialize" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>
     775<?endif?>
     776            <Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" ><![CDATA[&VBoxPython=3]]></Custom>
     777            <Custom Action="ca_InstallPythonAPI" Before="InstallFinalize" ><![CDATA[&VBoxPython=3]]></Custom>
    775778
    776779            <Custom Action="ca_InstallBrandingArgs" Before="ca_InstallBranding" ><![CDATA[NOT REMOVE]]></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