Did you add a FeatureRef in your feature tree for this feature?

You have to include something from the fragment in your wxs or else it 
won't get linked in.

Kelly




"alan sinclair" <[EMAIL PROTECTED]> 

Sent by: [EMAIL PROTECTED]
05/29/2008 05:12 PM

To
WiX-users@lists.sourceforge.net
cc

Subject
[WiX-users] fragment compiles but is missing from MSI






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




**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Unless indicated
to the contrary: it does not constitute professional advice or opinions
upon which reliance may be made by the addressee or any other party,
and it should be considered to be a work in progress. Unless otherwise
noted in this email or its attachments, this communication does not form 
a Statement of Actuarial Opinion under American Academy of Actuaries guidelines.
**************************************************************************************
-------------------------------------------------------------------------
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