26 lines
640 B
C#
26 lines
640 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Configuration.Install;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace SoraV2BatteryHelperNotification
|
|
{
|
|
[RunInstaller(true)]
|
|
public partial class NotificationInstaller : System.Configuration.Install.Installer
|
|
{
|
|
public NotificationInstaller()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void NotificationInstaller_BeforeUninstall(object sender, InstallEventArgs e)
|
|
{
|
|
System.Environment.Exit(1);
|
|
}
|
|
}
|
|
}
|