Hi all,
   The project I am working on is using a custom bootstrapper for our install 
process. We have run into various issues in our install process, but instead of 
looking for solutions for each individual issue here, I am attempting to create 
a UI element (DialogBox, Window, etc.) that shows the error code/message so 
that testers can reference that instead of having to dig through the logs. Is 
this possible on the MSI level (or even the Bootstrapper level)? I have the 
Error event hooked up:
    public class MyBootstrapperApplication : 
Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication    {   
     protected override void Run()        {            Error += HandleError;
            Application app = new Application();            app.Run();
            Engine.Quit((int)ActionResult.Success);        }
        private void HandleError(object sender, ErrorEventArgs e)        {      
      MessageBox.Show(Application.Current.MainWindow, e.ErrorMessage, "WiX 
Toolset", MessageBoxButton.OK, MessageBoxImage.Error);        }    }
Thanks,
Mike                                                                            
  
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to