Fix uninstall not working
This commit is contained in:
parent
92550b9670
commit
0f310e883c
|
@ -91,6 +91,7 @@ namespace Driver_Easy_Loader
|
||||||
{
|
{
|
||||||
MessageBox.Show("Make sure to quit Driver Easy, then hit OK to start patching","Driver Easy Loader by Vichingo455",MessageBoxButtons.OK,MessageBoxIcon.Warning);
|
MessageBox.Show("Make sure to quit Driver Easy, then hit OK to start patching","Driver Easy Loader by Vichingo455",MessageBoxButtons.OK,MessageBoxIcon.Warning);
|
||||||
}
|
}
|
||||||
|
checkBox1.Checked = false; //just to separate the if functions
|
||||||
if (radioButton1.Checked)
|
if (radioButton1.Checked)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@ -183,9 +184,9 @@ namespace Driver_Easy_Loader
|
||||||
{
|
{
|
||||||
File.Delete(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Easeware\DriverEasy\License.dat");
|
File.Delete(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Easeware\DriverEasy\License.dat");
|
||||||
}
|
}
|
||||||
if (Directory.Exists(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy"))
|
if (File.Exists(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy\License.dat"))
|
||||||
{
|
{
|
||||||
Directory.Delete(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy");
|
File.Delete(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy\License.dat");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
|
Loading…
Reference in New Issue