This commit is contained in:
dmex
2019-05-29 17:26:08 +02:00
parent 6c0bcde086
commit c3169ee748
@@ -38,18 +38,16 @@ NTSTATUS SetupProgressThread(
if (!SetupUninstallKph(Context))
goto CleanupExit;
// Create the install folder path.
if (!NT_SUCCESS(PhCreateDirectory(SetupInstallPath)))
goto CleanupExit;
// Upgrade the 2.x settings file.
SetupUpgradeSettingsFile();
// Remove the previous installation.
if (Context->SetupResetSettings)
{
PhDeleteDirectory(SetupInstallPath);
}
// Create the install folder path.
if (!NT_SUCCESS(PhCreateDirectory(SetupInstallPath)))
goto CleanupExit;
// Create the uninstaller.
if (!SetupCreateUninstallFile(Context))
@@ -216,4 +214,4 @@ INT_PTR CALLBACK SetupInstallPropPage_WndProc(
}
return FALSE;
}
}