I am doing a check in C# custom action and if some condition satiisfies , then i am returning ActionResult.Sucess or ActionResult.Failure ? My question is how to get these status codes in my script? I have set the attribute Return=Check in custom action attributes and this custom action is basically a pre-requisite for the installation, i.e if it returns ActionResult.Failure installation should not proceed and exit. I tried using Session["MANAGEMENT"]="1" and then reading this MANAGEMENT wxs file. I even tried defining this MANAGEMENT in wxs file and then passing this as parameter to the custom action and then check its value when it returns from custom action. SO basically i need to know how to check if the custom action is returning ActionResult.Sucess or ActionResult.Failure ?
-- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-get-vaues-from-C-custom-action-tp5376846p5376846.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users