Thanks Blair. I will try to find the "external ui" APIs and look around there.
Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -----Original Message----- > From: Blair [mailto:os...@live.com] > Sent: Friday, December 04, 2009 11:00 PM > To: 'General discussion for Windows Installer XML toolset.' > Subject: Re: [WiX-users] Using DTF to Capture MSI Log Output while MSI > Package is Installing > > Not having done it (since I've always used the native C interface > directly > from C++) it appears that the Microsoft.Deployment.WindowsInstaller > Namespace would contain what you need. > > To process the logging stuff yourself (instead of sending it to a file > first) you will use the "external ui" APIs and specify which callbacks > you > want (what you want to log, basically). Always return > MessageResult.None > from your external ui delegate if all you are doing is logging to not > otherwise alter the course of the installation. > > -----Original Message----- > From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] > Sent: Friday, December 04, 2009 4:04 PM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Using DTF to Capture MSI Log Output while MSI > Package > is Installing > > I have a powershell script that uses msiexec to install a few msi > packages. > Currently it executes msiexec and waits for it to finish before reading > the > generated log file to determine success/failure as well as printing > interesting messages to the console. I would really like to capture the > msi > log output as it happens so that the powershell script can make > decisions > about what to print to the console while msiexec is executing rather > than > having to wait until the very end. Is it possible to hook into DTF to > get > that output in real-time? > > Edwin G. Castro > Software Developer - Staff > Electronic Banking Services > Fiserv > Office: 503-746-0643 > Fax: 503-617-0291 > www.fiserv.com<http://www.fiserv.com/> > P Please consider the environment before printing this e-mail > > ----------------------------------------------------------------------- > ----- > -- > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ----------------------------------------------------------------------- > ------- > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users