Alan, Dispatcher.Run() starts a message loop. You should setup any UI you want to display before that, or just call ShowDialog() on your main dialog directly. Not that you will also need to call a few methods on Engine (Detect(), Plan(), Apply()...) to actually get things to install. The WixBA used to install WiX 3.6 is a good place to see a working example.
David -----Original Message----- From: AlanBrianCovington [mailto:briancoving...@yahoo.com] Sent: Friday, May 11, 2012 10:16 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Managed bootstrap failing to load Nigel, Did you get this working past the "Hello World"? I got this far, but cannot get Burn to install my packages with my custom bootstrapper application. It appears to get to the Threading.Dispatcher.Run call, but then just sits there (ie I never get the second message box): using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Tools.WindowsInstallerXml.Bootstrapper; using System.Windows.Forms; using Threading = System.Windows.Threading; namespace MyBA { public class TestBA : BootstrapperApplication { static public Threading.Dispatcher Dispatcher { get; private set; } protected override void Run() { this.Engine.Log(LogLevel.Verbose, "Running the TestBA."); TestBA.Dispatcher = Threading.Dispatcher.CurrentDispatcher; MessageBox.Show("My Bootstrapper Application is running"); Threading.Dispatcher.Run(); MessageBox.Show("Dispatcher Run has finished."); this.Engine.Quit(0); } } } Any little bit of help you could provide would be GREATLY appreciated. Best regards, Brian -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Managed-bootstrap-failing-to-load-tp7547420p7550586.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users