A component is a atomic unit of work in WIX. Any kind of files u want to install, entries in the registry u wanna make, all go in a component. Ya u can put ur xmlconifg element in a component, even though the file being installed is a part of ur installation. but i suggest u put it in a separate component and use a registry key as a keypath..but anyways for ur purpose: u can use either of these schemes: <component> <file><any files u wanna install> </file> <xmlconfig> </xmlconfig> </component>
OR <component> <xmlconfig> </xmlconfig> </component> But using the second one will require some component keypath like a registry key. On Fri, Jan 8, 2010 at 11:33 PM, Kerber, Cameron <cameron.ker...@philips.com > wrote: > I still don't understand. > > >From the main tutorial blog on Wix. > http://www.tramontana.co.hu/wix/lesson1.php#1.1 > > "The component is the atomic unit of things to be installed". But the xml > file I am modifying is not a part of my install. It is already installed. > So do I still put it in a component to modify? Is there something that I > am missing? > > Thanks! > > -----Original Message----- > From: ricky sundrani [mailto:rickysundr...@gmail.com] > Sent: Friday, January 08, 2010 11:53 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Modify Existing XML File > > Re posting the link. > http://wix.sourceforge.net/manual-wix3/util_xsd_xmlconfig.htm > > > On Fri, Jan 8, 2010 at 10:20 PM, ricky sundrani <rickysundr...@gmail.com > >wrote: > > > > > U'll have to use it under a component. > > > > <Component> > > <XmlConfig> > > > > ... > > > > </XmlConfig> > > <Component> > > > > See the link > > http://wix.sourceforge.net/manualwix3/util_xsd_xmlconfig.htm > > > > Here see the parents of the XmlConfig element. > > > > > > > > > > On Fri, Jan 8, 2010 at 8:08 PM, Kerber, Cameron < > > cameron.ker...@philips.com> wrote: > > > >> Well I don't see any file search element under Property. Also where do > I > >> put the XML Config element. If I just put that element under the > Product > >> element will it get executed? > >> > >> Thanks > >> > >> -----Original Message----- > >> From: Sebastian Brand (Instyler Software) [mailto: > wix+us...@instyler.com > <wix%2bus...@instyler.com><wix%2bus...@instyler.com<wix%252bus...@instyler.com> > > > >> ] > >> Sent: Friday, January 08, 2010 9:25 AM > >> To: 'General discussion for Windows Installer XML toolset.' > >> Subject: Re: [WiX-users] Modify Existing XML File > >> > >> Have you tried setting the @File attribute of XMLConfig / XMLFile to a > >> file > >> on the target system? You could create a Property with a FileSearch > >> element > >> to find a file on the target system and then use this property as @File. > >> > >> > >> > >> I'm not sure, haven't tried this yet J > >> > >> > >> > >> Best regards, > >> > >> Sebastian Brand > >> > >> sebast...@instyler.com > >> > >> > >> > >> Geisenfelder Str. 53a > >> > >> 85053 Ingolstadt, Germany > >> > >> EU VAT ID: DE219712370 > >> > >> Phone: +49 841 4544567 > >> > >> www.instyler.com <http://www.instyler.com/> > >> > >> > >> > >> Travel add-in for Outlook <http://www.traveladdin.com/> : Add travel > and > >> return times to your calendar. > >> > >> Instyler Setup <http://www.instyler.com/> : Create WiX-based MSI > >> installations, elegantly. > >> > >> Sebastianbrand.com <http://www.sebastianbrand.com/> : blogging about > >> software development, deployment and productivity > >> > >> > >> > >> > >> > >> > >> > >> > -----Original Message----- > >> > >> > From: Kerber, Cameron [mailto:cameron.ker...@philips.com] > >> > >> > Sent: Friday, January 08, 2010 15:10 > >> > >> > To: wix-users@lists.sourceforge.net > >> > >> > Subject: [WiX-users] Modify Existing XML File > >> > >> > > >> > >> > So I've seen a lot of documentation in using the XML Util Extension to > >> modify > >> > >> > xml files. But generally all those tutorials are for changing XML > files > >> that are > >> > >> > being included with the install. > >> > >> > > >> > >> > How would I change an XML file that is already existing for where I am > >> going > >> > >> > to deploy my Install? Sorry this may be simple but this is my 3rd day > >> on > >> WiX > >> > >> > and I can't figure it out. > >> > >> > > >> > >> > Thanks! > >> > >> > > >> > >> > ________________________________ > >> > >> > The information contained in this message may be confidential and > >> legally > >> > >> > protected under applicable law. The message is intended solely for the > >> > >> > addressee(s). If you are not the intended recipient, you are hereby > >> notified > >> > >> > that any use, forwarding, dissemination, or reproduction of this > message > >> is > >> > >> > strictly prohibited and may be unlawful. If you are not the intended > >> recipient, > >> > >> > please contact the sender by return e-mail and destroy all copies of > the > >> > >> > original message. > >> > >> > > >> > >> > ---------------------------------------------------------------------------- > >> -- > >> > >> > This SF.Net email is sponsored by the Verizon Developer Community Take > >> > >> > advantage of Verizon's best-in-class app development support A > >> > >> > streamlined, 14 day to market process makes app distribution fast and > >> easy > >> > >> > Join now and get one step closer to millions of Verizon customers > >> > >> > <http://p.sf.net/sfu/verizon-dev2dev> > >> http://p.sf.net/sfu/verizon-dev2dev > >> > >> > _______________________________________________ > >> > >> > WiX-users mailing list > >> > >> > <mailto:WiX-users@lists.sourceforge.net> > >> WiX-users@lists.sourceforge.net > >> > >> > <https://lists.sourceforge.net/lists/listinfo/wix-users> > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > >> > >> > ------------------------------------------------------------------------------ > >> This SF.Net email is sponsored by the Verizon Developer Community > >> Take advantage of Verizon's best-in-class app development support > >> A streamlined, 14 day to market process makes app distribution fast and > >> easy > >> Join now and get one step closer to millions of Verizon customers > >> http://p.sf.net/sfu/verizon-dev2dev > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > >> The information contained in this message may be confidential and > legally > >> protected under applicable law. The message is intended solely for the > >> addressee(s). If you are not the intended recipient, you are hereby > notified > >> that any use, forwarding, dissemination, or reproduction of this message > is > >> strictly prohibited and may be unlawful. If you are not the intended > >> recipient, please contact the sender by return e-mail and destroy all > copies > >> of the original message. > >> > >> > >> > ------------------------------------------------------------------------------ > >> This SF.Net email is sponsored by the Verizon Developer Community > >> Take advantage of Verizon's best-in-class app development support > >> A streamlined, 14 day to market process makes app distribution fast and > >> easy > >> Join now and get one step closer to millions of Verizon customers > >> http://p.sf.net/sfu/verizon-dev2dev > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > > > > > > > -- > > Best Regards. > > > > Ricky > > > > > > -- > Best Regards. > > Ricky > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > The information contained in this message may be confidential and legally > protected under applicable law. The message is intended solely for the > addressee(s). If you are not the intended recipient, you are hereby notified > that any use, forwarding, dissemination, or reproduction of this message is > strictly prohibited and may be unlawful. If you are not the intended > recipient, please contact the sender by return e-mail and destroy all copies > of the original message. > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Best Regards. Ricky ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users