Hi Bharat, your CustomAction probably throws an uncatched exception. Methods capable of throwing exceptions should be executed from within a try-catch block. There you can show the user your own error message or create the missing directory. My experience is, that exceptions are not transported from the c# method to the installer runtime, so you always have to take care of possible exceptions.
Regards Uwe Am 12.04.2011 00:02, schrieb bharatj: > Hello All, > > I have written my first action script using C#. It has to create a text > under temp folder. If temp folder exists action script runs successfully and > WIX MSI works perfect. If temp folder doesnt exist action script returns > failure and Setup ends prematurely. It is not showing the intended message > like " Unable to create file ". ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users