VirtualBox

Ignore:
Timestamp:
Nov 13, 2024 1:12:38 PM (2 months ago)
Author:
vboxsync
Message:

Installer/win: ARM64 adjustments. jiraref:VBP-1442

File:
1 edited

Legend:

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

    r106061 r106986  
    3737        <?define Property_VBoxMergeUSB = "$(env.VBOX_WIN_INST_MERGE_USB)" ?>
    3838    <?endif?>
    39     <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
     39    <?if $(env.VBOX_WITH_NETFLT) = "yes" And $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
    4040        <?define Property_VBoxMergeNetworkFlt = "$(env.VBOX_WIN_INST_MERGE_NETFLT)" ?>
    4141    <?endif?>
    4242    <?if $(env.VBOX_WITH_NETADP) = "yes" ?>
    43         <?define Property_VBoxMergeNetworkAdp  = "$(env.VBOX_WIN_INST_MERGE_NETADP)" ?>
     43        <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
     44            <?define Property_VBoxMergeNetworkAdp  = "$(env.VBOX_WIN_INST_MERGE_NETADP)" ?>
     45        <?endif?>
    4446        <?define Property_VBoxMergeNetworkAdp6 = "$(env.VBOX_WIN_INST_MERGE_NETADP6)" ?>
    4547    <?endif?>
     
    238240    <?endif?>
    239241    <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
    240         <?include VBoxMergeNetFltCA.wxi ?>
     242        <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
     243            <?include VBoxMergeNetFltCA.wxi ?>
     244        <?endif?>
    241245        <?include VBoxMergeNetLwfCA.wxi ?>
    242246    <?endif?>
    243     <?include VBoxMergeNetAdpCA.wxi ?>
    244     <?include VBoxMergeNetAdp6CA.wxi ?>
     247    <?if $(env.VBOX_WITH_NETADP) = "yes" ?>
     248        <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
     249            <?include VBoxMergeNetAdpCA.wxi ?>
     250        <?endif?>
     251        <?include VBoxMergeNetAdp6CA.wxi ?>
     252    <?endif?>
    245253    <?include VBoxMergeUSBCA.wxi ?>
    246254    <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
     
    295303    <?if $(env.VBOX_WITH_MIDL_PROXY_STUB) = "yes" ?>
    296304        <ComponentRef Id="cp_ProxyStub" />
    297         <ComponentRef Id="cp_ProxyStubLegacy" />
     305        <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
     306            <ComponentRef Id="cp_ProxyStubLegacy" />
     307        <?endif?>
    298308    <?endif?>
    299309    <?if $(env.VBOX_WITH_DTRACE) = "yes" ?>
     
    305315    <?endif?>
    306316    <ComponentRef Id="cp_MainBinaries" />
    307     <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
     317    <?if $(env.VBOX_WITH_QTGUI) = "yes" and $(env.VBOX_WITH_ORACLE_QT) = "yes" ?>
    308318        <ComponentRef Id="cp_QtPlatforms" />
    309319        <ComponentRef Id="cp_QtSqldrivers" />
     
    324334    <ComponentRef Id="cp_VBoxCAPI" />
    325335    <?if $(env.VBOX_SIGNING_MODE) != none ?>
    326         <ComponentRef Id="cp_VBoxSupCat_PreW10" />
     336        <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
     337            <ComponentRef Id="cp_VBoxSupCat_PreW10" />
     338        <?endif?>
    327339        <ComponentRef Id="cp_VBoxSupCat_W10" />
    328340    <?endif?>
     
    336348    <?else?>
    337349        <?if $(env.VBOX_SIGNING_MODE) != none ?>
    338             <ComponentRef Id="cp_USBFilterDriverCat_PreW10" />
     350            <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
     351                <ComponentRef Id="cp_USBFilterDriverCat_PreW10" />
     352            <?endif?>
    339353            <ComponentRef Id="cp_USBFilterDriverCat_W10" />
    340354        <?endif?>
    341355            <ComponentRef Id="cp_USBFilterDriver" />
    342356        <?if $(env.VBOX_SIGNING_MODE) != none ?>
    343             <ComponentRef Id="cp_USBDeviceDriverCat_PreW10" />
     357            <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
     358                <ComponentRef Id="cp_USBDeviceDriverCat_PreW10" />
     359            <?endif?>
    344360            <ComponentRef Id="cp_USBDeviceDriverCat_W10" />
    345361        <?endif?>
     
    353369            <Feature Id="VBoxNetworkFlt" Title="VirtualBox Bridged Networking" Level="1" Description="!(loc.VB_NetFltDriver)" ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" AllowAdvertise="no">
    354370    <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
     371        <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
    355372                <MergeRef Id="msm_VBoxNetworkFlt" />
     373        <?endif?>
    356374                <MergeRef Id="msm_VBoxNetworkLwf" />
    357375    <?else?>
     376        <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
    358377                <ComponentRef Id="cp_NetFltDriver" />
     378        <?endif?>
    359379        <?if $(env.VBOX_SIGNING_MODE) != none ?>
     380            <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
    360381                <ComponentRef Id="cp_NetLwfDriverCat_PreW10" />
     382            <?endif?>
    361383                <ComponentRef Id="cp_NetLwfDriverCat_W10" />
    362384        <?endif?>
     
    366388            <Feature Id="VBoxNetworkAdp" Title="VirtualBox Host-Only Networking" Level="1" Description="!(loc.VB_NetAdpDriver)" ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" AllowAdvertise="no">
    367389    <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
     390        <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
    368391                <MergeRef Id="msm_VBoxNetworkAdp" />
     392        <?endif?>
    369393                <MergeRef Id="msm_VBoxNetworkAdp6" />
    370394    <?else?>
     395        <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
    371396                <ComponentRef Id="cp_NetAdpDriver" />
     397        <?endif?>
    372398        <?if $(env.VBOX_SIGNING_MODE) != none ?>
     399            <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
    373400                <ComponentRef Id="cp_NetAdp6DriverCat_PreW10" />
     401            <?endif?>
    374402                <ComponentRef Id="cp_NetAdp6DriverCat_W10" />
    375403        <?endif?>
     
    453481
    454482<?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?>
    455         <?include VBoxMergeAppSeq.wxi ?>
    456         <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
    457             <?include VBoxMergeCOM32On64Seq.wxi ?>
    458         <?endif?>
    459         <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
     483    <?include VBoxMergeAppSeq.wxi ?>
     484    <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
     485        <?include VBoxMergeCOM32On64Seq.wxi ?>
     486    <?endif?>
     487    <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
     488        <?if $(env.KBUILD_TARGET_ARCH) = amd64 ?> <!-- @todo bird: Remove this and use Adp6, we don't support XP any more. -->
    460489            <?include VBoxMergeNetFltSeq.wxi ?>
    461             <?include VBoxMergeNetLwfSeq.wxi ?>
    462         <?endif?>
    463         <?include VBoxMergeNetAdpSeq.wxi ?>
     490        <?endif?>
     491        <?include VBoxMergeNetLwfSeq.wxi ?>
     492    <?endif?>
     493    <?if $(env.VBOX_WITH_NETADP) = "yes" ?>
     494        <?if $(env.KBUILD_TARGET_ARCH) = amd64 ?> <!-- @todo bird: Remove this and use Adp6, we don't support XP any more. -->
     495            <?include VBoxMergeNetAdpSeq.wxi ?>
     496        <?endif?>
    464497        <?include VBoxMergeNetAdp6Seq.wxi ?>
    465         <?include VBoxMergeUSBSeq.wxi ?>
    466         <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
    467             <?include VBoxMergePythonSeq.wxi ?>
    468         <?endif?>
     498    <?endif?>
     499    <?include VBoxMergeUSBSeq.wxi ?>
     500    <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
     501        <?include VBoxMergePythonSeq.wxi ?>
     502    <?endif?>
    469503<?endif?>
    470504
     
    526560<?endif?>
    527561                    <Directory Id="dir_Network" Name="network">
    528 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
     562<?if $(env.VBOX_WITH_NETFLT) = "yes" And $(env.KBUILD_TARGET_ARCH) = "amd64" ?> <!-- @todo bird: Remove this and use Adp6, we don't support XP any more. -->
    529563                        <Directory Id="dir_NetFlt" Name="netflt">
    530564    <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
     
    539573                        </Directory>
    540574<?endif?>
    541 <?if $(env.VBOX_WITH_NETADP) = "yes" ?>
     575<?if $(env.VBOX_WITH_NETADP) = "yes" and $(env.KBUILD_TARGET_ARCH) = "amd64" ?> <!-- @todo bird: Remove this and use Adp6, we don't support XP any more. -->
    542576                        <Directory Id="dir_NetAdp" Name="netadp">
    543577    <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
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