public partial class Installer1 : Installer
public override void Install(System.Collections.IDictionary stateSaver)
private void Installer1_AfterInstall(object sender, InstallEventArgs e)
Form1 topmostForm = new Form1();
topmostForm.TopMost = true;
If you want to show your own UI in the installer, you won't be able to use a setup and deployment project, because it lacks the features necessary to implement that. Consider using an installer toolkit like WiX or Inno Setup instead.
Concerning the first part of your question, are you passing the custom dialog box in the
owner argument to MessageBox.Show()?