VirtualBox

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


Ignore:
Timestamp:
Sep 5, 2013 7:41:45 PM (11 years ago)
Author:
vboxsync
Message:

Main,Installer: 32-bit on 64-bit COM API support (windows). Currently disabled

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Makefile.kmk

    r45327 r48323  
    419419                        $(PATH_SUB_CURRENT)/UserInterface.wxi \
    420420                        $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib.wxi \
     421                        $(if $(VBOX_WITH_32_ON_64_MAIN_API),$(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib_x86.wxi,) \
    421422                        $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \
    422423                        $(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi \
     
    447448                -E 'VBOX_SIGNING_MODE=$(strip $(if $(VBOX_SIGNING_MODE),$(VBOX_SIGNING_MODE),none))' \
    448449                -E 'VBOX_GUI_USE_QGL=$(if $(VBOX_GUI_USE_QGL),yes,no)' \
     450                -E 'VBOX_WITH_32_ON_64_MAIN_API=$(if $(VBOX_WITH_32_ON_64_MAIN_API),yes,no)' \
    449451                -E 'VBOX_WITH_ADDITIONS_PACKING=$(if $(VBOX_WITH_ADDITIONS_PACKING),yes,no)' \
    450452                -E 'VBOX_WITH_COMBINED_PACKAGE=$(if $(VBOX_WITH_COMBINED_PACKAGE),yes,no)' \
     
    501503        $(VBOX_XSLTPROC) -o $@ $< $(VBOX_XIDL_FILE)
    502504
     505$(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib_x86.wxi: \
     506                $(PATH_SUB_CURRENT)/VirtualBox_TypeLib.xsl \
     507                $(VBOX_XIDL_FILE) \
     508                | $$(dir $$@)
     509        $(VBOX_XSLTPROC) --stringparam "a_sTarget" "VBoxClient-x86"  -o [email protected] $< $(VBOX_XIDL_FILE)
     510        $(SED) -e 's/VBoxC/VBoxClient_x86/g' --output $@ [email protected]
     511        $(RM) -f [email protected]
     512
     513
    503514#
    504515# Construct the list of GUI translations.
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r47894 r48323  
    334334                        </Component>
    335335                    </Directory>
     336
     337<?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
     338                    <!-- The 32-bit client COM component (see also cp_MainCom below). -->
     339                    <Component Id="cp_MainCOM_x86" Guid="B600824E-4A25-2EB3-4B44-3D8CB7F9B92D" Win64="no">
     340                        <File Id="VBoxClient_x86" Name="VBoxClient-x86.dll"
     341                            Source="$(env.PATH_OUT)\bin\VBoxClient-x86.dll" KeyPath="yes">
     342                        </File>
     343                        <?include $(env.PATH_TARGET)\VirtualBox_TypeLib_x86.wxi ?>
     344                    </Component>
     345<?endif?>
    336346
    337347                    <!-- COM components have a separate entry mainly because of the KeyPath attribute (that hints the
     
    696706<?endif?>
    697707            <ComponentRef Id="cp_NLS" />
     708<?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
     709            <ComponentRef Id="cp_MainCOM_x86" />
     710<?endif?>
    698711            <ComponentRef Id="cp_MainCOM" />
    699712            <ComponentRef Id="cp_MainBinaries" />
  • trunk/src/VBox/Installer/win/VirtualBox_TypeLib.xsl

    r44528 r48323  
    2727<xsl:strip-space elements="*"/>
    2828
     29<xsl:param name="a_sTarget">all</xsl:param>
     30
    2931
    3032<!--
     
    4648 *  Source    : src/VBox/Main/idl/VirtualBox.xidl
    4749 *  Generator : src/VBox/Installer/VirtualBox_TypeLib.xsl
     50 *  Arguments : a_sTarget=<xsl:value-of select="$a_sTarget"/>
    4851 */
    4952  </xsl:comment>
     
    6770        <xsl:attribute name="Id"><xsl:value-of select="@appUuid"/></xsl:attribute>
    6871        <xsl:attribute name="Description"><xsl:value-of select="@name"/> Application</xsl:attribute>
    69         <xsl:apply-templates select="module/class"/>
     72        <xsl:choose>
     73          <xsl:when test="$a_sTarget = 'VBoxClient-x86'">
     74            <xsl:apply-templates select="module[@name='VBoxC']/class"/>
     75          </xsl:when>
     76          <xsl:otherwise>
     77            <xsl:apply-templates select="module/class"/>
     78          </xsl:otherwise>
     79        </xsl:choose>
    7080      </AppId>
    7181    </TypeLib>
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