We have a very large wix project and we would like to break it apart. One of the things we would like to do is move several of our <Binary> element to a fragment but we can't seem to figure out how to make it work.
We have something like define in the master.wxs file: <Binary Id="WixUI_Bmp_Dialog" SourceFile="$(var.MEDIAPATH)\side_panel.bmp" /> <Binary Id="WixUI_Bmp_Banner" SourceFile="$(var.MEDIAPATH)\WizardHeader.bmp" /> <Binary Id="WixUI_Bmp_BannerJpn" SourceFile="$(var.MEDIAPATH)\WizardHeaderJpn.bmp" /> <Binary Id="WixUI_Bmp_Footer" SourceFile="$(var.MEDIAPATH)\WizardFooter.bmp" /> <Binary Id="FirstProgressBMP" SourceFile="$(var.MEDIAPATH)\1_awards12_A.bmp" /> <Binary Id="SecondProgressBMP" SourceFile="$(var.MEDIAPATH)\2_awards12_B.bmp" /> <Binary Id="ThirdProgressBMP" SourceFile="$(var.MEDIAPATH)\3_awards12_C.bmp" /> <Binary Id="FourthProgressBMP" SourceFile="$(var.MEDIAPATH)\4_awards12_D.bmp" /> So we tried simply to move these definition into a new file and wrapped them with a <Fragment> element. When we built the project the project didn't complain but the binaries weren't in the binaries table. So, we then tried to reference these elements using <BinaryRef> and <FragmentRef> but we got error instead. What is the right way to reference these Binary elements in the master.wxs file? Thanks. Tristen Fielding Sr. Software Developer / Program Lead TradeStation Group, Inc. http://www.TradeStation.com<http://www.tradestation.com/> 8050 SW 10th Street, Suite 2000 Plantation, FL 33324 Tel. 954.652.7320 Fax 954.652.5320 TradeStation Group, Inc. is the parent company of four operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), IBFX, Inc. (Member NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Forex products and services are offered by TradeStation Forex, a division of IBFX, Inc. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users