I have a custom action that takes user information and writes a
configuration file.  My two questions are:

1.      How can I put a condition on the custom action to only write if
when a specific feature is selected for installation?
2.      Do I have to create another custom action to remove this file or
can I use the standard features?

A snippet for your reference is:

    <Binary Id="InstallDllCA"
SourceFile="InstallDLL2/Release/InstallDllCA.dll" />
    <CustomAction Id="WriteConfigurationFile" BinaryKey="InstallDllCA"
DllEntry="WriteConfigurationFile" />
    <InstallExecuteSequence>
      <RemoveExistingProducts After="InstallInitialize" />
      <Custom Action="WriteConfigurationFile"
Before="InstallInitialize" >NOT Installed </Custom>
    </InstallExecuteSequence>


Thanks very much.



Brett

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to