Didactylos wrote:
> Now light looks for file.exe at .\file.exe - and fails, obviously. All the
> examples I can find show each file given an explicit source path, but this
> seems unnecessarily ugly to me. How can I make it pick up the source tree
> from the directory hierarchy again?
>   

The compiler doesn't persist file source data at the directory level; it 
just passes it down to child components; eventually File persists it for 
each file. That means that the source data only works within a given 
hierarchy of Directory/DirectoryRef elements. In different sections 
(e.g., Fragment, Product), you need to provide at least one 
Directory/DirectoryRef with file source information. The compiler will 
propagate that down the hierarchy.

I recently added DiskId to Directory/DirectoryRef and ran into the same 
problem: There's no place to persist a DiskId across sections. It would 
be a nice feature but nobody's coded it up yet. Feel free to add a 
feature request (or better yet, a patch<g>).

-- 
sig://boB
http://joyofsetup.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

Reply via email to