Hi,

My source tree has a file in "include" subdirectory. I want to install
it to "include" subdirectory on the target box.

I do the following:

         <Directory
             Id='TARGETDIR'
             Name='SourceDir'>

             <Directory
                 Id='ProgramFilesFolder'
                 Name='PFiles'>

                 <Directory
                     Id='INSTALLDIR'
                     Name='Foo'>

                     <Directory
                         Id='include'
                         Name='include'>

                         <Component
                             Id='core_include'
                             Guid='...'>

                             <File
                                 Id='foo.h'
                                 Name='foo.h'
                                 DiskId='1'
                                 Source='foo.h'/>

Light.exe is looking for the foo.h in the main directory (where
light.exe is run from) rather than in "include" subdirectory:

C:\Users\me\libxs\foo.wxs(98) : error LGHT0103 : The system cannot find
the file 'foo.h'.

Any ideas?
Martin

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to