I have a Custom Action that runs before the AppSearch action. The CA sets several Properties based on the installed Oracle client.
The CA is written in C#, and sets each Property by doing something like this: session["PropertyName"] = "Value"; It appears to run fine, and in the MSI log file I can see entries like these: MSI (c) (A4!98) [12:56:01:782]: PROPERTY CHANGE: Adding ODBC_DRIVER_NAME property. Its value is 'Oracle in orahome92'. MSI (c) (A4!98) [12:56:01:798]: PROPERTY CHANGE: Adding ODBC_DRIVER_VERSION property. Its value is '9.2.0.65'. MSI (c) (A4!98) [12:56:01:798]: PROPERTY CHANGE: Adding ODBC_DRIVER_VERSION_OK property. Its value is '#1'. Action ended 12:56:01: CheckOracleDriverVersion. Return value 1. I want to use this information to abort the installer if the version is too low. But the Properties don't seem to be set by the time LaunchConditions executes. Just to check, I created another CA that just echoed the ORACLE_DRIVER_VERSION property and ran it immediately after the original CA. It was blank. Is there something I need to do to "commit" the Property change? I thought it was related to this problem: http://n2.nabble.com/Setting-properties-in-custom-actions-td4203122.html but the solution doesn't seem to apply since I need to use the Property value in LaunchConditions, which executes long before CostInitialize. Thanks. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users