mirror of
https://github.com/tnodir/fort
synced 2024-11-15 10:05:08 +00:00
UI: Remove Global Windows Explorer integration on Uninstall
This commit is contained in:
parent
d41332f991
commit
1cd580fcd2
@ -245,6 +245,8 @@ void FortManager::uninstall()
|
|||||||
StartupUtil::setAutoRunMode(StartupUtil::StartupDisabled); // Remove auto-run
|
StartupUtil::setAutoRunMode(StartupUtil::StartupDisabled); // Remove auto-run
|
||||||
StartupUtil::setServiceInstalled(false); // Uninstall service
|
StartupUtil::setServiceInstalled(false); // Uninstall service
|
||||||
StartupUtil::setExplorerIntegrated(false); // Remove Windows Explorer integration
|
StartupUtil::setExplorerIntegrated(false); // Remove Windows Explorer integration
|
||||||
|
StartupUtil::clearGlobalExplorerIntegrated(); // COMPAT: Remove Global Windows Explorer
|
||||||
|
// integration
|
||||||
DriverCommon::provUnregister(); // Unregister booted provider
|
DriverCommon::provUnregister(); // Unregister booted provider
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -298,6 +298,13 @@ void StartupUtil::setExplorerIntegrated(bool integrate)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void StartupUtil::clearGlobalExplorerIntegrated()
|
||||||
|
{
|
||||||
|
RegKey regShell(RegKey::HKLM, regShellMenu, RegKey::DefaultReadWrite);
|
||||||
|
|
||||||
|
regShell.removeRecursively(APP_NAME);
|
||||||
|
}
|
||||||
|
|
||||||
QString StartupUtil::registryPasswordHash()
|
QString StartupUtil::registryPasswordHash()
|
||||||
{
|
{
|
||||||
const RegKey regApp(RegKey::HKLM, R"(SOFTWARE)");
|
const RegKey regApp(RegKey::HKLM, R"(SOFTWARE)");
|
||||||
|
@ -22,6 +22,8 @@ public:
|
|||||||
static bool isExplorerIntegrated();
|
static bool isExplorerIntegrated();
|
||||||
static void setExplorerIntegrated(bool integrate);
|
static void setExplorerIntegrated(bool integrate);
|
||||||
|
|
||||||
|
static void clearGlobalExplorerIntegrated();
|
||||||
|
|
||||||
static QString registryPasswordHash();
|
static QString registryPasswordHash();
|
||||||
static void setRegistryPasswordHash(const QString &passwordHash);
|
static void setRegistryPasswordHash(const QString &passwordHash);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user