I made a WiX Burn custom bootstrapper UI using WinForms and put some mnemonics for buttons in my UI using the ampersand(&) notation, like &Next
. But it does not work ignoring my key input. How can I fix this? Following code is part of my bootstrapper application.
namespace MyBA_UI
{
public class MyBA : BootstrapperApplication
{
public static Dispatcher Dispatcher { get; set; }
protected override void Run()
{
Dispatcher = Dispatcher.CurrentDispatcher;
var form = new Mainform(this);
form.Show();
Dispatcher.Run();
}
}
}