No, the InstallUISequence. On Wed, Feb 10, 2010 at 12:38, Wilson, Phil <phil.wil...@invensys.com> wrote: > Does "other parts" mean the ExecuteSequence? If they are being passed from > the UI to the ExecuteSequence they'd need to be in the SecureCustomProperties > list. > > Phil Wilson > > -----Original Message----- > From: Jake Boone [mailto:jakeboon...@gmail.com] > Sent: Wednesday, February 10, 2010 7:12 AM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Property not set by Custom Action? > > > Sorry, I didn't fully explain the purpose of my CA, which is two-fold: > > I need to terminate the installation if the ODBC driver doesn't meet the > minimum requirement, but if it does I need to reference the properties set > by the CA in the ODBCDataSource setup, etc. > > My issue is not terminating the installation, it's the other part: setting > the properties with the CA. The log seems to suggest they have been set, > but other parts of the installation can't see them. > > > Blair-2 wrote: >> >> You should be able to use a type 19 custom action: see the Error attribute >> of the CustomAction element. >> >> -----Original Message----- >> From: Jake Boone [mailto:jakeboon...@gmail.com] >> Sent: Tuesday, February 09, 2010 11:06 AM >> To: wix-users@lists.sourceforge.net >> Subject: [WiX-users] Property not set by Custom Action? >> >> 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 >> >> >> ------------------------------------------------------------------------------ >> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, >> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW >> http://p.sf.net/sfu/solaris-dev2dev >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > -- > View this message in context: > http://n2.nabble.com/Property-not-set-by-Custom-Action-tp4543214p4548445.html > Sent from the wix-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > *** Confidentiality Notice: This e-mail, including any associated or attached > files, is intended solely for the individual or entity to which it is > addressed. This e-mail is confidential and may well also be legally > privileged. If you have received it in error, you are on notice of its > status. Please notify the sender immediately by reply e-mail and then delete > this message from your system. Please do not copy it or use it for any > purposes, or disclose its contents to any other person. This email comes from > a division of the Invensys Group, owned by Invensys plc, which is a company > registered in England and Wales with its registered office at Portland House, > Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of > European legal entities within the Invensys Group, please go to > http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. > You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail > inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be > subject to the terms of any agreements between Invensys (and/or its > subsidiaries and affiliates) and the recipient (and/or its subsidiaries and > affiliates). > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users >
------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users