[wix-users] Problem doing a CopyFile in a fragment...

Rob Mensching rob at firegiant.com
Wed Jul 27 13:24:06 PDT 2016


Fragments are like functions. They should be the "right size". Stuff that goes together should go in a Fragment. Just like all the code in a function should be about the same thing.

I know that's vague but it's very specific to the situation with your code.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Lewis Henderson
Sent: Wednesday, July 27, 2016 12:27
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Problem doing a CopyFile in a fragment...

Yeah, that might be the case.

I originally wasn't using fragments for anything except dialogs, but have since been led to believe that's bad practice.  My product components are generated by a script, so they could be created either as includes or fragments (but I do like most of the fragment benefits).  I've been converting these files from includes to fragments, but this is one case I haven't been able to work around (yet).

Any suggestions are still welcome.  Thanks.

				Lewis

PS: The reason for different copy names is that it's a service configuration tool that has to match the name of the service to work.  I've got two products that install their own instance of this service, and they accordingly have different service names.  I didn't write the service configuration tool, so I can't change its behavior.



More information about the wix-users mailing list