I have a custom action:

<?define SourceSQLCustomAction =
"$(var.resourcePath)\MYCorpInstaller.CA.dll"?>

<Binary Id="BIN_CustomAction" SourceFile="$(var.SourceSQLCustomAction)"/>

<CustomAction Id="CA_SetWebConfigConnectionStrings"
DllEntry="CallUpdateAdminWebConfigSqlConnectionString"
BinaryKey="BIN_CustomAction" Execute="immediate" Return="check" />

 <InstallExecuteSequence>
      <Custom Action="CA_SetWebConfigConnectionStrings"
Before="InstallServices">NOT Installed</Custom>

if execute=immediate runs before it should BUT the MSI properties are read
in by my customaction dll, however it fails since the files haven't been
installed yet :(

If I set the execute=deferred it runs when it is supposed to BUT the
properties are not read in to my custom action dll they are blank...

set up MessageBox.Show("this is a property: " + myProperty);

What is going on?

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/calling-a-deferred-customaction-dll-using-CAQuietExec-tp7581555p7581564.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to