In article <e66649032ad92b42901bf5835c76a27f5...@harwood.x2systems.com>, "Neil Sleightholm" <n...@x2systems.com> writes:
> I have to admit to being confused! Looking at the built in WiX custom > actions I see code like this in their wixlibs: > > <CustomAction Id="InstallSqlData" BinaryKey="ScaSchedule2" > DllEntry="InstallSqlData" Execute="immediate" Return="check" /> ^^^^^^^^^^^^^^ > <CustomAction Id="UninstallSqlData" BinaryKey="ScaSchedule2" > DllEntry="UninstallSqlData" Execute="immediate" Return="check" /> ^^^^^^^^^^^^^^^^ These define two CAs with different entry points into the same DLL. > <InstallExecuteSequence> > <Custom Action="UninstallSqlData" Before="RemoveFiles" > Overridable="yes">NOT SKIPUNINSTALLSQLDATA AND VersionNT > 400</Custom> > <Custom Action="InstallSqlData" After="InstallFiles" > Overridable="yes">NOT SKIPINSTALLSQLDATA AND VersionNT > 400</Custom> > </InstallExecuteSequence> > > Where is the detection or conditional calls in that? In most cases this > seems to end up calling the same code but with a true/false code > indicating install/uninstall. The two have different code and different conditions (properties SKIPUNINSTALLSQLDATA vs. SKIPINSTALLSQLDATA). -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://www.xmission.com/~legalize/book/download/index.html> Legalize Adulthood! <http://blogs.xmission.com/legalize/> ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users