Hi Rob: That now makes sense, having read the .cs code for the netfx extension. Sean.
-----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 12 December 2010 19:23 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] issues when using a custom action The linker (light.exe) starts at your Product and starts pulling in code referenced from there. So you need to somehow have a reference to the Fragment below. The WiX Extensions typcially do this by adding a CustomActionRef automatcially for you. Since you don't have an Extension to automatically add the CustomActionRef, you need to add one yourself. On Sun, Dec 12, 2010 at 7:04 AM, Sean Farrow <sean.far...@seanfarrow.co.uk>wrote: > Hi: > I've written a custom action. > It appears from checking the binary table with orca that the ca dll is not > been added to the database. > The following is the fragment in a .wixlib file: > <!--JAWS Custom Action DLL Definitions. --> > <Fragment> > <Binary Id="JAWSInstallCA" > SourceFile="$(var.SolutionDir)\installca\(Var.ConfigurationName)\installca.dll" > /> > </Fragment> > <!--Custom actions.--> > <Fragment> > <!--set ISJAWSINSTALLED property.--> > <CustomAction Id="SetIsJawsInstalledCustomAction" > BinaryKey="JAWSInstallCA" DllEntry="SetIsJawsInstalled" Execute="immediate" > Return="check" SuppressModularization="yes" /> > <InstallUISequence> > <Custom Action="SetISJawsInstalledCustomAction" Before="AppSearch" > Overridable="yes" /> > </InstallUISequence> > </Fragment> > I've based this on the .wixlib that comes with the netfx extension. I was > under the impression that as I've added the ca id to the uisequence this > would add the ca to the install. > Any help appreciated. > Cheers > Sean. > > ------------------------------------------------------------------------------ > Oracle to DB2 Conversion Guide: Learn learn about native support for > PL/SQL, > new data types, scalar functions, improved concurrency, built-in packages, > OCI, SQL*Plus, data movement tools, best practices and more. > http://p.sf.net/sfu/oracle-sfdev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users