Re: [WiX-users] Handling error from MSI in Custom BA

2015-05-13 Thread Johri, Mohit IN BLR STS
lto:phogl...@rimage.com] Sent: Wednesday, May 13, 2015 6:03 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Handling error from MSI in Custom BA An example of doing this is in the wix source at: src\Setup\WixBA\InstallationViewModel.cs The event is registered in the class construct

Re: [WiX-users] Handling error from MSI in Custom BA

2015-05-13 Thread Phill Hogland
An example of doing this is in the wix source at: src\Setup\WixBA\InstallationViewModel.cs The event is registered in the class constructor (along with some other event which are helpful): WixBA.Model.Bootstrapper.Error += this.ExecuteError; And then the ExecuteError handler has an example of

[WiX-users] Handling error from MSI in Custom BA

2015-05-13 Thread Johri, Mohit IN BLR STS
Hi All, I'm using a custom bootstrapper and I'd like to display a custom error message or log the error if one of my MSI fail. I tried using the BootstrapperApplication.Error event to handle the error, but in case of error from MSI this below piece of code is never called. private void OnError