private void uninstall_OnError(object sender, InstallErrorEventArgs e)
 {
     CancelSetup(e);
 }
 private void CancelSetup(InstallErrorEventArgs e)
 {
     Dispatcher.Invoke(new StringDelegate(showerror), new object[] { e != null ? e.Message : null });
 }
Example #3
0
 private static void installer_OnError(object sender, InstallErrorEventArgs e)
 {
     //Environment.Exit(-1);
     Application.Current.Shutdown(-1);
 }