I'd avoid CopyFile personally and just have a couple extra Components (conditioned correctly) to install the file.
On Sun, Jun 12, 2011 at 7:32 PM, Dave Combs <dave.co...@kaazing.com> wrote: > I was hoping somebody could help with my confusion on a <CopyFile> issue. > > I have a WiX configuration to install a product with 2 features, call them > 'base' and 'extras'. 'base' is required, and 'extras' is optional. Both > 'base' and 'extras' have a config file (called 'base-config.xml' and > 'extras-config.xml'). At some point during installation, one or the other > of the two files (depending on what features have been chosen) needs to be > copied into another directory, with the file name 'config.xml'. > > My problem is that I can see that <CopyFile> can be applied inside a <File> > component to copy that component (but then I have 2 guys trying to go to > the > same place), or inside its own <Component> (but isn't that only for files > that are already on the destination machine?) > > Can anybody either point out where I'm going wrong or suggest a solution? > > Thanks! > Dave > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users