Hi Sebastian, Thanks for you quick reply. Is there a better/faster way to log custom message? If I want to call LogInfo directly from CustomAction, where can I specify the passin parameter(msg)?
<CustomAction Id='test' BinaryKey='Customization.vbs' VBScriptCall='LogInfo' Return='check'/> Thanks Jeff --- On Fri, 18/9/09, Sebastian Brand (Instyler Software) <wix+us...@instyler.com> wrote: From: Sebastian Brand (Instyler Software) <wix+us...@instyler.com> Subject: Re: [WiX-users] Sending custom message to log file To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Received: Friday, 18 September, 2009, 12:04 PM Hello, You'll have to fill properties and use them in the Script with Session ("MYPROP") for example. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 18.09.2009, at 05:11, puyo puy wrote: > Hi there, > > I want to send custom debug message to my installer's log file after > a custom action has been exectued. I found their is a useful > information from http://www.dalun.com/wix/06.26.2005.htm > > <Binary Id='Customization.vbs' src='Customization.vbs'/> > <CustomAction Id='test' BinaryKey='Customization.vbs' > VBScriptCall='Hello' Return='check'/> > > > Function LogInfo(msg) Dim rec > Set rec = Session.Installer.CreateRecord(1) > rec.StringData(0) = msg > LogInfo = Session.Message(&H04000000, rec) > End Function > > Function Hello > LogInfo "Customization is being called here." > End function > > > Is there a way that I can pass the custom message to the function > Hello intead of the static messgae? Or is there a better way to log > custom message rather than calling VB Script? > > Thanks in advance > Jeff > > > > __________________________________________________________________________________ > Get more done like never before with Yahoo!7 Mail. > Learn more: http://au.overview.mail.yahoo.com/ > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users __________________________________________________________________________________ Get more done like never before with Yahoo!7 Mail. Learn more: http://au.overview.mail.yahoo.com/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users