You'd only need one reference to an "object" inside the fragment for the entire 
fragment to be included.

A more common approach I've used is to have a fragment per CA, and then use a 
property ref to pull it into the product.  

Ex:
  <Fragment>
    <Condition Message="This application requires Microsoft Visual C++ Runtime 
2010 SP1. Please install Microsoft Visual C++ Runtime 2010 SP1 then run this 
installer again.">
      <![CDATA[Installed OR VC2010SP1]]>
    </Condition>    
    <Property Id="VC2010SP1" Secure="yes"/>
    <CustomAction Id="VC2010SP1InstalledCA" BinaryKey="Prerequisites" 
DllEntry="VC2010SP1InstalledCA" Return="check" Execute="firstSequence" />
    <InstallUISequence>
      <Custom Action="VC2010SP1InstalledCA" After="AppSearch">NOT 
Installed</Custom>
    </InstallUISequence>
    <InstallExecuteSequence>
      <Custom Action="VC2010SP1InstalledCA" After="AppSearch">NOT 
Installed</Custom>
    </InstallExecuteSequence>    
  </Fragment>

And then in the product:
<PropertyRef Id="VC2010SP1"/>

-----Original Message-----
From: ssmsam [mailto:ssmcs...@gmail.com] 
Sent: Monday, November 17, 2014 1:15 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] <InstallUISequence> not working when kept out of 
<product>

Ah!! Thanks Phill. 
I figured out that we have got 300 CAs in our product. So, the Product.wxs file 
looks horribly huge bcoz of these <CustomActionRef>.. 

Can i keep all <CustomActionRef>s in other file's fragment?

Regards,
Sampat



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/InstallUISequence-not-working-when-kept-out-of-product-tp7597976p7597983.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! 
Instantly Supercharge Your Business Reports and Dashboards with Interactivity, 
Sharing, Native Excel Exports, App Integration & more Get technology previously 
reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to