VirtualBox

Changeset 51046 in vbox for trunk/src/VBox/Installer/win


Ignore:
Timestamp:
Apr 11, 2014 9:39:15 AM (11 years ago)
Author:
vboxsync
Message:

Windows host installer: Fixed building if VBOX_WITH_QTGUI is not defined.

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

Legend:

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

    r51009 r51046  
    294294            </Control>
    295295            <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Next)">
     296        <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
    296297                <Publish Event="NewDialog" Value="VBoxCustomize2Dlg">1</Publish>
     298        <?else ?>
     299                <Publish Event="NewDialog" Value="VBoxVerifyReadyDlg">1</Publish>
     300        <?endif ?>
    297301                <Subscribe Event="SelectionNoItems" Attribute="Enabled" />
    298302            </Control>
     
    339343                <Text>!(loc.Customize2Dlg_RegisterFileExtensions)</Text>
    340344            </Control>
    341 
    342345            <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17"
    343346                Default="yes" Cancel="yes" Text="!(loc.ButtonText_Next)">
    344 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
     347            <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
    345348                <Publish Event="NewDialog" Value="VBoxWarnDisconNetIfacesDlg"><![CDATA[(&VBoxNetworkFlt=3) AND NOT(!VBoxNetworkFlt=3)]]></Publish>
    346349                <Publish Event="NewDialog" Value="VBoxVerifyReadyDlg"><![CDATA[(&VBoxNetworkFlt<3)]]></Publish>
    347 <?else ?>
     350            <?else ?>
    348351                <Publish Event="NewDialog" Value="VBoxVerifyReadyDlg">1</Publish>
    349 <?endif?>
     352            <?endif?>
    350353            </Control>
    351354            <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17"
     
    494497            </Control>
    495498            <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Back)">
     499        <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
    496500                <Publish Event="NewDialog" Value="VBoxCustomize2Dlg"><![CDATA[InstallMode = "!(loc.InstallModeCustom)"]]></Publish>
     501        <?else ?>
     502                <Publish Event="NewDialog" Value="VBoxCustomizeDlg">1</Publish>
     503        <?endif ?>
    497504            </Control>
    498505            <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
  • trunk/src/VBox/Installer/win/VBoxMergeApp.wxi

    r51045 r51046  
    124124    <!---->
    125125
     126<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
    126127    <Component Id="cp_RegisterExtensions" Guid="FEB8943E-5D60-4E2D-846F-458207019D40" Win64="$(var.Property_Win64)">
    127128        <Condition>VBOX_REGISTERFILEEXTENSIONS</Condition>
     
    162163        </ProgId>
    163164    </Component> <!-- RegisterExtensions -->
     165<?endif ?>
    164166
    165167    <!-- All Binaries, DLLs (except COM) and drivers are in one component because they belong together. Additional
     
    267269              Source="$(env.PATH_OUT)\bin\VBoxTestOGL.exe" />
    268270<?endif ?>
     271<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
    269272        <!-- Qt frontend -->
    270273        <File Id="file_VirtualBox.exe" Name="VirtualBox.exe"
     
    277280        <File Id="file_QtNetworkVBox4.dll" Name="QtNetworkVBox4.dll"
    278281              Source="$(env.PATH_OUT)\bin\QtNetworkVBox4.dll" />
     282<?endif ?>
    279283<?if $(env.VBOX_WITH_DEBUGGER_GUI) = "yes" ?>
    280284        <File Id="file_VBoxDbg.dll" Name="VBoxDbg.dll"
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r51045 r51046  
    279279             ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
    280280             Absent="disallow" AllowAdvertise="no" >
    281  <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
     281<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
    282282        <MergeRef Id="msm_VBoxApp" />
    283283<?else ?>
     
    285285        <ComponentRef Id="cp_DesktopShortcut" />
    286286        <ComponentRef Id="cp_QuickLaunchVBox" />
     287    <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
    287288        <ComponentRef Id="cp_RegisterExtensions" />
    288 
     289    <?endif ?>
    289290    <?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
    290291        <ComponentRef Id="cp_Docs" />
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