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 }); }
private static void installer_OnError(object sender, InstallErrorEventArgs e) { //Environment.Exit(-1); Application.Current.Shutdown(-1); }