This commit is contained in:
offhub 2024-11-16 22:36:58 +03:00
parent 10166f4363
commit a7e4f346cb
No known key found for this signature in database
GPG Key ID: 7B12A8941851DA59
2 changed files with 3 additions and 1 deletions

View File

@ -675,6 +675,5 @@ begin
// Remove shell integration.
ShellUninstall();
RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Xanasoft\{#MyAppName}');
end;

View File

@ -903,6 +903,9 @@ void CSettingsWindow::RemoveContextMenu()
QProcess Proc;
Proc.execute("rundll32.exe", QStringList() << "SbieShellExt.dll,RemovePackage");
Proc.waitForFinished();
QSettings MyReg("HKEY_CURRENT_USER\\SOFTWARE\\Xanasoft\\Sandboxie-Plus", QSettings::NativeFormat);
MyReg.remove(""); // Removes the entire key and all subkeys
}
CSbieUtils::RemoveContextMenu();