Re: [WiX-users] Passing values to CA not working

2012-02-28 Thread raviraj87
It is not working and I am getting the same error again. For Execute Sequence I have used: Is there a simpler way to pass values (UI Control) to CA in "immediate mode"? Can I get some code? - Regards, Ravi -- View this message in context: http://windows-installer-xml-wix

Re: [WiX-users] Passing values to CA not working

2012-02-28 Thread raviraj87
Thanks Romeo, Iwas looking answers desparately as my whole installer process in on wait. Thanks for your reply. I will try this out tomorrow. I want to ask that as i am using two customactions for sending a value to the custom action, can't i do this using only one action? Its immediate action anyw

Re: [WiX-users] Passing values to CA not working

2012-02-28 Thread Romeo S.
You're running the CA as "immediate", I don't think it's necessary to use CustomActionData unless what you really wanted is "deferred". Try getting the property normally (assuming your ExecuteSequence is right). String sServerName = mpSession["MSMACHINE"]; Regards, Romeo -- View this message in

Re: [WiX-users] Passing values to CA not working

2011-03-29 Thread kim
Thanks Chris, its working now. But following code to check a property value is not working My CA is setting the value of a property "SOLUTIONEXISTS" and its setting is correctly based on conditions. But in my wix code, my condition element is not working as expected. Following message is displaye

Re: [WiX-users] Passing values to CA not working

2011-03-29 Thread Christopher Painter
: wix-users@lists.sourceforge.net Sent: Tue, March 29, 2011 12:45:45 PM Subject: Re: [WiX-users] Passing values to CA not working Chris, I think i got it to work using following code: CustomActionData customActionData = new CustomActionData(session["INSTANCENAME"]); One more thing:

Re: [WiX-users] Passing values to CA not working

2011-03-29 Thread kim
Chris, I think i got it to work using following code: CustomActionData customActionData = new CustomActionData(session["INSTANCENAME"]); One more thing: My CA is setting the value of a property "SOLUTIONEXISTS" and its setting is correctly based on conditions. But in my wix code, my condition e

Re: [WiX-users] Passing values to CA not working

2011-03-29 Thread kim
Thanks Chris. can you give me an example of how to work with SecureCustomProperty, please? thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Passing-values-to-CA-not-working-tp6216967p6220094.html Sent from the wix-users mailing list archive a

Re: [WiX-users] Passing values to CA not working

2011-03-29 Thread Christopher Painter
ler XML toolset. Sent: Tue, March 29, 2011 10:00:12 AM Subject: Re: [WiX-users] Passing values to CA not working That will only work for a deferred custom action because MSI maps the property with the name of the CA to a property called CustomActionData which is what that implementations cons

Re: [WiX-users] Passing values to CA not working

2011-03-29 Thread Christopher Painter
ginal Message From: kim To: wix-users@lists.sourceforge.net Sent: Tue, March 29, 2011 9:41:03 AM Subject: Re: [WiX-users] Passing values to CA not working Yes I do. Following is the function call to get the data from session. public static string[] GetCustomActionDataArguments(Session se

Re: [WiX-users] Passing values to CA not working

2011-03-29 Thread kim
Yes I do. Following is the function call to get the data from session. public static string[] GetCustomActionDataArguments(Session session) { string[] keys = new string[session.CustomActionData.Keys.Count]; session.CustomActionData.Keys.CopyTo(keys, 0);

Re: [WiX-users] Passing values to CA not working

2011-03-28 Thread Christopher Painter
il Me - Original Message From: kim To: wix-users@lists.sourceforge.net Sent: Mon, March 28, 2011 5:37:32 PM Subject: Re: [WiX-users] Passing values to CA not working GetSolutionDBCA (immediate CA) is the custom action which will be using these properties, which are passed using custom a

Re: [WiX-users] Passing values to CA not working

2011-03-28 Thread kim
GetSolutionDBCA (immediate CA) is the custom action which will be using these properties, which are passed using custom action SolutionDBConnection as displayed in code below: These CAs are scheduled as below: NOT Installed NOT Installed -- View this message in context: ht

Re: [WiX-users] Passing values to CA not working

2011-03-28 Thread Christopher Painter
What is the name of the custom action that is reading the property and how is it scheduled? ( Immediate., Deferred? )   --- Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me - Original M