Try setting Execute="immediate" if you don't need the Custom Action to run elevated (see http://wix.sourceforge.net/manual-wix3/wix_xsd_customaction.htm). Have you set the Return attribute in your CustomAction Element & what are you doing with the output from the SQL query? Code samples go a long way when asking for help.
I'm not an SQL user but have you tried using WiXSQLExtension rather than a Custom Action or is what you're trying to do not possible with WiXSQLExtension? Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Sagar1111 [mailto:sagarkavitak...@gmail.com] Sent: 04 August 2010 09:15 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Output of deferred custom action Hi, I have an MSI which does the following tasks:<br/> 1.) Installs some files on the users machine,<br/> 2.) Custom Action that executes a SELECT SQL-Query after the files has been installed.<br/> <br/><br/> I want to show the output of the SELECT SQL-Query to be shown in the "Exit dialogbox" as scrolltext.<br/> What is creating problem is that the CA is executed in deferred mode which doesnt have acess to the session object. <br/> <br/><br/><br/> How should I show the output of deferred action in Exit dialog Box? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Output-of- deferred-custom-action-tp5371612p5371612.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 ------------------------------------------------------------------------------ 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