Isn't the simple file/component syntax clean enough?

Wix 3.5 simplest syntax for a file.
<component>
 <File Name="exampleFile.txt"/>
</component>


It seems a lot of effort to remove a few <component> elements, especially as
I think something similar is planned for Wix 4.

You could just run an xslt on your shorter format that transforms each <File>
in a filelist to wrap it in a <component>, then let Wix compile as normal.

-----Original Message-----
From: Jeffrey Bindinga [mailto:jeffrey.bindi...@nice.com] 
Sent: 09 December 2011 13:19
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adding files to an MSI using a WIX Compiler Extension

Hi,

I am trying to create an extension that helps me in adding files to a setup
really fast.

The idea is to have a custom element named 'FileList' with sub-elements named
'File' and that each file entry adds your file to the setup  with a similarly
named component.

I have a working extension where I want to add it. The only thing is that I
do not know how to add files to the MSI, since those will have to be included
by the binder. Is there an easy way to do that?

Kind regards,
Jeffrey Bindinga
Software Developer at NICE Systems



 


CyberTech B.V. ("CTBV") is registered in the Netherlands, Alkmaar KvK
37.05.01.69.  

CTBV is a part of NICE Systems (www.nice.com).

Confidentiality: This communication and any attachments are intended for the
above-named persons only and may be confidential and/or legally privileged.
Any opinions expressed in this communication are not necessarily those of
CTBV. If this communication has come to you in error you must take no action
based on it, nor must you copy or show it to anyone; please delete/destroy
and inform the sender by e-mail immediately. 

Monitoring: CTBV may monitor incoming and outgoing e-mails. 
Viruses: Although we have taken steps toward ensuring that this e-mail and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
-----------------------------------------------------------------------------
-
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
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.


------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to