[wix-users] Heat .xsl bug?

R ryee at pronktech.com
Thu Jun 21 14:08:27 PDT 2018


It ends up generating an empty fragment. However, I've found a workaround
that seems kind of lame.

<xsl:transform version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns="http://schemas.microsoft.com/wix/2006/wi"
  xmlns:wix="http://schemas.microsoft.com/wix/2006/wi">

which generates:

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:wix="
http://schemas.microsoft.com/wix/2006/wi">

That seems to make candle.exe happy, at least, but it's definitely
pointless, since the output files won't have any elements like
"wix:element".



On Thu, Jun 21, 2018 at 3:35 AM, Edwin Castro <egcastr at gmail.com> wrote:

> What happens if you try
>
> <xsl:transform version="1.0"
>   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>   xmlns="http://schemas.microsoft.com/wix/2006/wi">
>
> and remove wix: from the WiX elements?
>
> --
> Edwin G. Castro
>
>
> On Wed, Jun 20, 2018, 20:51 R via wix-users <wix-users at lists.wixtoolset.
> org> wrote:
>
>> Is it a bug in heat.exe when I can't seem to generate:
>>
>> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
>>
>> because heat requires the following in the .xsl to function?
>>
>> <xsl:transform version="1.0"
>>   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>>   xmlns:wix="http://schemas.microsoft.com/wix/2006/wi">
>>
>> The above generates <Wix xmlns:wix="http://schemas.
>> microsoft.com/wix/2006/wi">
>> in the generated fragment, but if I change the .xsl to <Wix xmlns="..">,
>> the directory harvest fails (i.e. the fragment is empty).
>>
>> This is a problem, because burn throws an error and wants to see <Wix
>> xmlns=".."> and not <Wix xmlns:wix="..">
>>
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> http://www.firegiant.com/
>>
>


-- 
Please reply to confirm that you have read and understand the contents of
this e-mail.


More information about the wix-users mailing list