Mike Dimmick-2 wrote: > > You're using SourceDir but it sounds like you should be using FileSource. > > FileSource is used by WiX to locate the files to be installed. Light lays > out the uncompressed files as specified in the SourceDir attributes. > > At runtime, Windows Installer locates the files using SourceDir and copies > them to the appropriate target directory. > > -- > Mike Dimmick > No, I want to use the source hierarchy. I want my development layout to mirror the internal layout. The way the Directory element is designed, this works wonderfully. The FileSource attribute is for when you want to override this behaviour - and that works fine, too.
But when working with fragments, you lose all the directory context. You lose the SourceName and FileSource context (I tested it with FileSource, too). The only workaround is to specify FileSource on the DirectoryRef element. This causes needless repetition, and you lose all the elegance of the directory structure. Is this a feature, a bug, or just not implemented yet? David Barnard -- View this message in context: http://www.nabble.com/Source-directory-resolution-in-fragments-tf3817811.html#a10810063 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users