|
From: Rob M. <ro...@us...> - 2005-08-02 18:51:42
|
One clarification I should have made, you *can* Copy and Move files from a Component's install location to other places on the machine. That's what the CopyFile element does. -----Original Message----- From: Nicholas Muguira [mailto:nic...@gm...] Sent: Tuesday, August 02, 2005 11:34 AM To: ro...@us... Cc: Pedrum Mohageri; wix...@li... Subject: Re: [WiX-users] Can components span across directories? > Can I have a single component (one GUID) contain files *from* more than > one directory? When you say from, do you mean can the source files be in more than one directory on your machine, or can the files be placed in more than one destination on the target machine. The source files can be pulled from anywhere on your machine, and placed in only one component or multiple components. There are some component rules that you want to make sure that you don't violate (the same file shouldn't be installed to the same location with the same name from different components for example), but it is possilbe. On the target machine, as Rob said, Windows installer doesn't support putting files in multiple locations from a single component so WiX doesn't. |