Product.wxs has to reference the fragment somehow or another for it to get picked up. Assuming that only the contents of the CA are generated on the fly (i.e. you know the names beforehand) one way to do this is to use the CustomActionRef element in your Product.wxs.
-Francis On Tue, Sep 16, 2008 at 6:20 AM, BOB1981 <[EMAIL PROTECTED]> wrote: > > Hi All, > > I am generating this Wxs Fragment file and compiling it with my Product.wxs > , it compiles and generates MSI package with no errors or warnings But when > i run MSI and install/Uninstall the Features these custom actions are Not > running At All, > > Then i thought to Run DARK against my MSI generated it , and i found there > are no custom actions written in my MSI package, am i doing something > wrong... > Do i have to Keep all these Custom actions in Product.wxs.? reason why i am > keeping them seprate in diffrent file becasue they are getting generated > randomdly in my build process with the help of script. > > Please anybody any idea... > > thanks... > > <?xml version="1.0" encoding="utf-8"?> > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> > <Fragment> > <InstallExecuteSequence> > <Custom Action="sqlcmd.cmd0" > After="InstallFiles"><![CDATA[&F_Database=3]]></Custom> > <Custom Action="sqlcmd0" > After="InstallFiles"><![CDATA[&F_Database=3]]></Custom> > </InstallExecuteSequence> > <CustomAction Id="sqlcmd.cmd0" Property="sqlcmd0" > Value=""[SQLBINDIR]sqlcmd.exe" -S USDANRMMD1VW021 -i > "[#_6568BA70B3684C9582EB6C64AFB29013]" -o > c:\AddingFemaleRow.sql.log -U Build"/> > <CustomAction Id="sqlcmd0" BinaryKey="WixCa" DllEntry="CaQuietExec" > Return="check" Execute="commit" Impersonate="yes"/> > </Fragment> > > </Wix> > > -- > View this message in context: > http://n2.nabble.com/Custom-Action-and-InstallExecuteSequence-dont-work-in-Fragment.-tp1092654p1092654.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users