Open wixbot opened 12 years ago
Yet it is a duplicate. but pls have a look onto the screenshot. in my opinion its still an error of heat:
it doesnt recognize the second typelib registration of the ocx (If you move them under the "file" tag it works)
Duplicate of 3043870
How it should look like (original msi)
The specific problem here is that TypeLib harvesting doesn't correctly deal with:
Fabio was trying to harvest Flash11e.ocx.
The Win64 issue will show up when you try and harvest the 64bit Flash ActiveX control (Flash64_11_1_102.ocx) or its current equivalent.
Originally changed by
barnson
Area
changed fromheat
to`
Releasechanged from
futureto
v3.x`
Originally changed by
bmurri
AssignedTo
set towixsupport
Any timeline for when this might get solved?
Thanks
The bug is open and unassigned. In other words it is waiting for someone to investigate, propose and develop a fix. It'll hang out in the WiX v3.x bucket until then.
I'm currently running into this and at least in my case, it seems to be related to building from a .sln file. Building from within visual studio (2019), full solution or just the .wixproj, produces the orphaned TypeLib
, same results when invoking msbuild on the .sln file.
Invoking msbuild on the .wixproj file produces the correct output, and adding the following snippet to the .wixproj fixes building the solution/project from visual studio and from msbuild
<PropertyGroup>
<RunWixToolsOutOfProc>true</RunWixToolsOutOfProc>
</PropertyGroup>
i have tried using above snippet of code, same issue observed using MSBuild also, any help for the same.
i am still facing same issue can any one suggest is there any alternate solution for nested typelib issue ?
I use the following XSLT to restructure single File
into working code:
<!-- Put TypeLib node under File -->
<xsl:template match="wix:File">
<xsl:copy>
<xsl:apply-templates select="@*" />
<xsl:apply-templates select="node()" />
<TypeLib>
<xsl:apply-templates select="../wix:TypeLib/@*" />
<xsl:attribute name="Language">
<xsl:value-of select="0" />
</xsl:attribute>
<xsl:copy-of select="../wix:TypeLib/node()" />
</TypeLib>
</xsl:copy>
</xsl:template>
<!-- Remove TypeLib node from under Component -->
<xsl:template match="//wix:Component/wix:TypeLib" />
When i heat a tybelib resource, the output seems not be 3.5 "conform" and therefore candle exits with an error.
error CNDL0047 : The TypeLib element is non-advertised and therefore requires a parent File element.
Some additional information provided in this bug report (attachments):