It's because your components aren't inside the bin directory tag.  You've used 
a closed element by 
declaring <Directory ..... />.  I'm not even sure how that compiles because the 
closing </Directory> 
tag doesn't have an opening tag to match against.

You want:
<Directory ..... >
   <Component .... >
     <File ... />
     <File ... />
   </Component>
</Directory>

Rob

[EMAIL PROTECTED] wrote:
>  
> Hi everyone,
>  
> Below is my fragment wxs file and I want to create bin folder there, but 
> it's not working, instead files are being installed in parent directory. 
> What am I missing there or what is the proper way to do this?
>  
> <?xml version="1.0"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>
>   <Fragment Id="iAdmin">
>     <DirectoryRef Id="iAdmin">
>       <Directory Id="iAdminBin" Name="bin" />
>          <Component Id="iAdminComponent" 
> Guid="E7C2C63D-13BC-7AF0-24E1-F9E5FC0789F9">
>            <File Id='A.dll' Name='AUL.dll' DiskId='1' 
> src="$(var.BuildBinariesDir)\" />
>            <File Id='B.dll' Name='iAdmCtrl.dll' DiskId='1' 
> src="$(var.BuildBinariesDir)\" />
>          </Component>
>        </Directory>
>     </DirectoryRef>
>   </Fragment>
> </Wix>
>  
>  
> Thanks,
> Steve
> 
> ------------------------------------------------------------------------
> Play free games, earn tickets, get cool prizes! Join Live Search Club.   
> Join Live Search Club! 
> <http://club.live.com/home.aspx?icid=CLUB_wlmailtextlink>
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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

Reply via email to