You want to match the component element [with a  given ID] in order to
omit it, not match the Id attribute:

<xsl:template
match="compone...@id='cmp20CFFB2FF46488AF2CD00E2C9543E202']" />

Also be careful to match the exact case of the element and attribute
names.

If it still doesnt work, check that the wix namesapce is the default
namespace.

-----Original Message-----
From: Markus Gaugusch [mailto:w...@gaugusch.at] 
Sent: 10 December 2009 14:26
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to specify files in Installer package

Hi Yan!

I tried an example found at
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg27515.htm
l

-- but I'm unable to get it going :(

I want to ignore

  <Component Id="cmp20CFFB2FF46488AF2CD00E2C9543E202"
Directory="INSTALLDIR" 
Guid="*">
(which includes one file)

I used the aforementioned example and tried with <xsl:template
match="@id[.='cmp20CFFB2FF46488AF2CD00E2C9543E202']" /> But the filter
doesn't seem to apply (my component is still in the output)

can you help me?

thanks,
Markus

On Dec 10, Yan Sklyarenko <y...@sitecore.net> wrote:

>  Markus,
>
>  The heat.exe has a switch -t:<transform.xsl>. If you specify this 
> switch  running heat, the 'transform.xsl' will be applied to the 
> regular output  of you heat command. The final resulting wxs file will

> contain  transformed xml.
>
>  There are no special requirements for that XSL transform.
>
>  Hope this helps,
>
>  -- Yan

------------------------------------------------------------------------
------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.  
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to