Hi,

Is it possible to access a variable I set on a Custom Action?
There is an example for code that does not work for me:

CA:
        [CustomAction]
        public static ActionResult CA1(Session session)
        {
            session["BLABLA"] = "BlaBla5";
            return ActionResult.Failure;
        }

Bootstrapper Application:
        private void BootstrapperApplication_ExecuteProgress(object sender,
ExecuteProgressEventArgs eventArgs)
        {            
            if (_bootstrapperApplication.Engine.StringVariables["BLABLA"] !=
null)
            {
                _bootstrapperApplication.Engine.Log(LogLevel.Verbose,
"****");
                _bootstrapperApplication.Engine.Log(LogLevel.Verbose,
"blabla log");
                _bootstrapperApplication.Engine.Log(LogLevel.Verbose,
"****");
            }
        }



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Bootstrapper-Application-accessing-variables-set-at-custom-actions-tp7600107.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to