Deferred custom actions are limited. The MSDN describes what you can and can't do and how to get around it here http://msdn.microsoft.com/en-us/library/windows/desktop/aa370543%28v=vs.85%29 .aspx
-----Original Message----- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: 24 October 2012 23:07 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] calling a deferred customaction dll usingCAQuietExec 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-defer red-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 SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ 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