I'm a WiX novice trying to add a new fragment to an existing mid-size
package (currently compiled from 12+ fragments.) My new fragment is modeled
on an existing working fragment. Candle and light both compile my new
fragment but the resulting MSI doesn't include the file or CA from the
fragment, just has the parts from all the other fragments.

It's a long shot question but can anyone please suggest what needs to be
added to the fragment to pulll it into the MSI?

Here's the fragment (cut-down)

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>
  <Fragment Id="eng">
      <DirectoryRef Id="MycoPlugins">
        <Component Id="CE_tp.sys"
Guid="2145849F-0836-4133-A9B1-5F021174FC44"
                    DiskId="1"
                    SharedDllRefCount="yes">
           <File Id="tp.sys" Name="tp.sys" Checksum="yes" KeyPath="yes"
Vital="yes"
                Source="..\i386\tp.sys"/>
        </Component>
      </DirectoryRef>

    <CustomAction Id="DoStuff"
        Return="check"
        Property="DeferredDoStuff"
        Value="my command line &quot;[$CE_tp.sys]&quot;" />
    <InstallExecuteSequence>
      <Custom Action="DoStuff"
Before="WriteEnvironmentStrings"><![CDATA[$CE_tp.sys = 3]]></Custom>
    </InstallExecuteSequence>

    <Feature Id="MycoPlugin" Level="1" Display="hidden"
             Title="Myco Plugin" Description="Myco Plugin">
      <ComponentGroupRef Id="MycoPluginGroup"/>
    </Feature>

  </Fragment>
</Wix>
----------
Thanks
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to