Your .wxi file should have the <Include> tag at the top level element not <Fragment> http://wix.sourceforge.net/manual-wix3/wix_xsd_include.htm
You add directories in a .wxi the same way you add them in a .wxs, use Directory or DirectoryRef elements. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Christoph Goetz [mailto:christoph.go...@giepa.de] Sent: 20 June 2011 13:32 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] (no subject) Hi, I try to create my wix Project with an wxi File. In a wxi File i have packed all the Files which are installed. How can i inlude the Folders in the wxi File in the main.wxs? Code Sample : <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <?Include "C:\test.wxi" ?> ... <Feature Id="ProductFeature" Title="Test" Level="1" > <ComponentRef Id="comp_DB8F510181154B28B50928C7DA07A49A"/> </Feature> In test.wxi is the Component: comp_DB8F510181154B28B50928C7DA07A. <Fragment> <ComponentGroup Id="Test1-Files"> <ComponentRef Id="comp_DB8F510181154B28B50928C7DA07A49A" /> ... Christoph ------------------------------------------------------------------------ ------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users