No, that's not going to work. You're component needs to be inside the directory.
Rob 0x001A4 wrote: > I have a root directory with multiple subdirectories and multiple > subdirectories in those directories. I also have files that need to go into > those subdirectories. > Here is an example of my wxs file: > > <Directory Id="RootInstall" Name="AppName"> > > <Directory Id="SubDir1" Name="Dir1"> > <Directory Id="SubDir2" Name="Dir2" /> > </Directory> > > <Component Id="App" Guid="..."> > <CreateFolder Directory="SubDir1" /> > <CreateFolder Directory="SubDir2" /> > > <File Id="FileInRoot" Name="FileInRoot" ... /> > > <!-- This is the file I want to place in SubDir1 --> > <File Id="FileInSudDir1" Name="FileInSubDir1" ... /> > > </Component> > > </Directory> > > Is this even possible to do this way? I really hope I don't need a new > component for every subdirectory, because from what I've seen, this seems > like it may be the only way. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users