Wixlibs are just a collection of compiled outputs and binaries. When you include them in your project, you must reference something from them (unlike MSMs that are merged in regardless of the target product). As if you used different fragments - one that defined a Component and another in your product that referenced it with a ComponentRef - it's no different for a wixlib. So if your wixlib defined Component/@Id="C", then your product should reference the wixlib (as you've done in VS) and add ComponentRef/@Id="C". That will pull in any other authoring within the same fragment, or any other fragments referenced by the first fragment (recursively). It's just like referencing symbols with multiple files during linkage.
Wixlibs can contain anything you can put in a fragment normally, but to use the wixlib a fragment must define a symbol (something with a corresponding *Ref element). On Fri, Jun 12, 2009 at 12:09 AM, karthik.shenoy < karthik.she...@robosoftin.com> wrote: > Hi All, > > > > I want to create an project with wix Lib instead of using WiX merge module. > Where can I find any information on WiX lib projects. > > Can I include Files, registry information in WiX Libs. > > > > I created a sample project as mentioned below in WiXlib and gave the > reference to same in MSI in visual studio through Add-> references. > Installation completes but neither the directory is created nor the files > are installed. > > > > <?xml version="1.0" encoding="UTF-8"?> > > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> > > <Fragment> > > <Directory Id="TARGETDIR" Name="SourceDir"> > > <Directory Id="ProgramFilesFolder"> > > <Directory Id="HS" Name="HS"> > > <Directory Id="DigitalImaging" Name="Digital Imaging"> > > <Merge Id="policy_9_0_Microsoft_VC90_MFC_x86.msm" Language="1033" > SourceFile="C:\Program Files\Common Files\Merge > Modules\policy_9_0_Microsoft_VC90_MFC_x86.msm" DiskId="1"/> > > <Component Id="TXT" Guid="9E432F2A-869A-457A-8755-78C1665E778A"> > > <File Id="VBS" Source="C:\Documents and > Settings\Sanjeev\Desktop\c.vbs"></File> > > </Component> > > > > </Directory> > > </Directory> > > </Directory> > > </Directory> > > > > <Feature Id="ProductFeature" Title="MSI" Level="1"> > > <ComponentRef Id="TXT"/> > > <MergeRef Id="policy_9_0_Microsoft_VC90_MFC_x86.msm"/> > > </Feature> > > </Fragment> > > </Wix> > > > > Am I going wrong somewhere?? Thanks in Advance > > > > Regards > > KPS > > > ----------------------------------------------- > Robosoft Technologies - Come home to Technology > > Disclaimer: This email may contain confidential material. If you were not > an intended recipient, please notify the sender and delete all copies. > Emails to and from our network may be logged and monitored. This email and > its attachments are scanned for virus by our scanners and are believed to be > safe. However, no warranty is given that this email is free of malicious > content or virus. > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Heath Stewart Deployment Technologies Team, Microsoft http://blogs.msdn.com/heaths ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users