Changeset 66274 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- Mar 28, 2017 12:19:45 AM (8 years ago)
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Makefile.kmk
r66037 r66274 580 580 -E 'VBOX_WITH_VRDP=$(if-expr defined(VBOX_WITH_VRDP) && !defined(VBOX_WITH_EXTPACK_PUEL),yes,no)' \ 581 581 -E 'VBOX_WITH_WEBSERVICES=$(if $(VBOX_WITH_WEBSERVICES),yes,no)' \ 582 -E 'VBOX_WITH_SDS=$(if $(VBOX_WITH_SDS),yes,no)' \ 582 583 -E 'VBOX_WITH_UNATTENDED=$(if $(VBOX_WITH_UNATTENDED),yes,no)' \ 583 584 -E 'BUILD_TYPE=$(KBUILD_TYPE)' \ … … 671 672 -E 'VBOX_WITH_VRDP=$(if-expr defined(VBOX_WITH_VRDP) && !defined(VBOX_WITH_EXTPACK_PUEL),yes,no)' \ 672 673 -E 'VBOX_WITH_WEBSERVICES=$(if $(VBOX_WITH_WEBSERVICES),yes,no)' \ 674 -E 'VBOX_WITH_SDS=$(if $(VBOX_WITH_SDS),yes,no)' \ 673 675 -E 'VBOX_WITH_UNATTENDED=$(if $(VBOX_WITH_UNATTENDED),yes,no)' \ 674 676 -E 'BUILD_TYPE=$(KBUILD_TYPE)' \ … … 700 702 | $$(dir $$@) 701 703 $(VBOX_XSLTPROC) \ 702 $(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB),--stringparam "a_sProxyStubClsid" '$(VBOX_MIDL_PROXY_CLSID)',) \ 704 $(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB),--stringparam "a_sProxyStubClsid" "$(VBOX_MIDL_PROXY_CLSID)",) \ 705 $(if-expr defined(VBOX_WITH_SDS),--stringparam "a_sWithSDS" "yes",) \ 703 706 -o $@ $< $(VBOX_XIDL_FILE) 704 707 … … 708 711 | $$(dir $$@) 709 712 $(VBOX_XSLTPROC) --stringparam "a_sTarget" "VBoxClient-x86" \ 710 $(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB),--stringparam "a_sProxyStubClsid" '$(VBOX_MIDL_PROXY_CLSID)',) \ 711 -o $@ $< $(VBOX_XIDL_FILE) 713 $(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB),--stringparam "a_sProxyStubClsid" "$(VBOX_MIDL_PROXY_CLSID)",) \ 714 $(if-expr defined(VBOX_WITH_SDS),--stringparam "a_sWithSDS" "yes",) \ 715 -o $@ $< $(VBOX_XIDL_FILE) 712 716 713 717 # -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxi
r65996 r66274 82 82 <?include $(env.PATH_TARGET)\VirtualBox_TypeLib.wxi ?> 83 83 <?endif?> 84 85 <?if $(env.VBOX_WITH_SDS) = "yes" ?> 86 <File Id="VBoxSDS" Name="VBoxSDS.exe" 87 Source="$(env.PATH_OUT)\bin\VBoxSDS.exe"> 88 </File> 89 <?endif?> 84 90 </Component> 85 91 -
trunk/src/VBox/Installer/win/VirtualBox_TypeLib.xsl
r64339 r66274 28 28 29 29 <xsl:param name="a_sTarget">all</xsl:param> 30 <xsl:param name="a_sWithSDS">no</xsl:param> 30 31 31 32 … … 66 67 <xsl:attribute name="MinorVersion"><xsl:value-of select="substring(@version,3)"/></xsl:attribute> 67 68 <xsl:attribute name="Language">0</xsl:attribute> 68 <xsl:attribute name="Description"><xsl:value-of select="@ desc"/></xsl:attribute>69 <xsl:attribute name="Description"><xsl:value-of select="@name"/></xsl:attribute> 69 70 <xsl:attribute name="HelpDirectory"><xsl:text>msm_VBoxApplicationFolder</xsl:text></xsl:attribute> 70 <AppId> 71 <xsl:attribute name="Id"><xsl:value-of select="@appUuid"/></xsl:attribute> 72 <xsl:attribute name="Description"><xsl:value-of select="@name"/> Application</xsl:attribute> 73 <xsl:choose> 74 <xsl:when test="$a_sTarget = 'VBoxClient-x86'"> 75 <xsl:apply-templates select="module[@name='VBoxC']/class"/> 76 </xsl:when> 77 <xsl:otherwise> 78 <xsl:apply-templates select="module/class"/> 79 </xsl:otherwise> 80 </xsl:choose> 81 </AppId> 71 <xsl:apply-templates select="application"/> 82 72 </TypeLib> 83 73 </Include> 84 74 </xsl:template> 85 75 76 77 <!-- 78 * filters to skip VBoxSDS class and interfaces if a VBOX_WITH_SDS is not defined in kmk 79 --> 80 <xsl:template match="application[@uuid='ec0e78e8-fa43-43e8-ac0a-02c784c4a4fa']"> 81 <xsl:if test="a_sWithSDS='yes'" > 82 <xsl:call-template name="application_template" /> 83 </xsl:if> 84 </xsl:template> 85 86 <!-- 87 * applications 88 --> 89 <xsl:template match="idl/library//application" name="application_template"> 90 <AppId> 91 <xsl:attribute name="Id"> 92 <xsl:value-of select="@uuid"/> 93 </xsl:attribute> 94 <xsl:attribute name="Description"> 95 <xsl:value-of select="@name"/> Application 96 </xsl:attribute> 97 <xsl:choose> 98 <xsl:when test="$a_sTarget = 'VBoxClient-x86'"> 99 <xsl:apply-templates select="module[@name='VBoxC']/class"/> 100 </xsl:when> 101 <xsl:otherwise> 102 <xsl:apply-templates select="module/class"/> 103 </xsl:otherwise> 104 </xsl:choose> 105 </AppId> 106 </xsl:template> 107 86 108 87 109 <!-- … … 143 165 </xsl:template> 144 166 145 146 167 <!-- 147 168 * eat everything else not explicitly matched -
trunk/src/VBox/Installer/win/VirtualBox_TypeLibWithInterfaces.xsl
r64339 r66274 63 63 <xsl:key name="G_keyInterfacesByName" match="//interface[@name]" use="@name"/> 64 64 65 <!-- 66 * filters to skip VBoxSDS class and interfaces if a VBOX_WITH_SDS is not defined in kmk 67 --> 68 <xsl:template match="application[@uuid='ec0e78e8-fa43-43e8-ac0a-02c784c4a4fa']"> 69 <xsl:if test="a_sWithSDS='yes'" > 70 <xsl:call-template name="application_template" /> 71 </xsl:if> 72 </xsl:template> 65 73 66 74 <!-- … … 75 83 <xsl:attribute name="MinorVersion"><xsl:value-of select="substring(@version,3)"/></xsl:attribute> 76 84 <xsl:attribute name="Language">0</xsl:attribute> 77 <xsl:attribute name="Description"><xsl:value-of select="@ desc"/></xsl:attribute>85 <xsl:attribute name="Description"><xsl:value-of select="@name"/></xsl:attribute> 78 86 <xsl:attribute name="HelpDirectory"><xsl:text>msm_VBoxApplicationFolder</xsl:text></xsl:attribute> 79 <AppId> 80 <xsl:attribute name="Id"><xsl:value-of select="@appUuid"/></xsl:attribute> 81 <xsl:attribute name="Description"><xsl:value-of select="@name"/> Application</xsl:attribute> 82 <xsl:choose> 83 <xsl:when test="$a_sTarget = 'VBoxClient-x86'"> 84 <xsl:apply-templates select="module[@name='VBoxC']/class"/> 85 </xsl:when> 86 <xsl:otherwise> 87 <xsl:apply-templates select="module/class"/> 88 </xsl:otherwise> 89 </xsl:choose> 90 </AppId> 91 <xsl:apply-templates select="interface | if/interface"> 92 <xsl:sort select="translate(@uuid,'abcdef','ABCDEF')"/> 93 </xsl:apply-templates> 87 <xsl:apply-templates select="application" /> 94 88 </TypeLib> 95 89 </Include> 96 90 </xsl:template> 97 91 92 <!-- 93 Applications. 94 --> 95 <xsl:template match="application"> 96 <AppId> 97 <xsl:attribute name="Id"> 98 <xsl:value-of select="@uuid"/> 99 </xsl:attribute> 100 <xsl:attribute name="Description"> 101 <xsl:value-of select="@name"/> Application 102 </xsl:attribute> 103 <xsl:choose> 104 <xsl:when test="$a_sTarget = 'VBoxClient-x86'"> 105 <xsl:apply-templates select="module[@name='VBoxC']/class"/> 106 </xsl:when> 107 <xsl:otherwise> 108 <xsl:apply-templates select="module/class"/> 109 </xsl:otherwise> 110 </xsl:choose> 111 </AppId> 112 <xsl:apply-templates select="interface | if/interface"> 113 <xsl:sort select="translate(@uuid,'abcdef','ABCDEF')"/> 114 </xsl:apply-templates> 115 </xsl:template> 98 116 99 117 <!-- … … 114 132 <xsl:when test="../@context='InprocServer'">InprocServer32</xsl:when> 115 133 <xsl:when test="../@context='LocalServer'">LocalServer32</xsl:when> 134 <xsl:when test="../@context='LocalService'">LocalServer32</xsl:when> 116 135 <xsl:otherwise> 117 136 <xsl:message terminate="yes"> … … 160 179 </xsl:template> 161 180 162 181 163 182 <!-- 164 183 Interfaces. 165 184 --> 166 <xsl:template match="library/ interface | library/if[@target='midl']/interface">185 <xsl:template match="library/application/interface | library/application/if[@target='midl']/interface"> 167 186 <Interface> 168 187 <!-- Interface Id="{00C8F974-92C5-44A1-8F3F-702469FDD04B}" Name="IDHCPServer" ProxyStubClassId32="{0BB3B78C-1807-4249-5BA5-EA42D66AF0BF}" NumMethods="33" --> … … 178 197 </xsl:template> 179 198 199 180 200 181 201 <!--
Note:
See TracChangeset
for help on using the changeset viewer.