From 10166f4363028ab636deb4b4debe8956d650e7c6 Mon Sep 17 00:00:00 2001 From: isaak654 Date: Sat, 16 Nov 2024 16:06:18 +0100 Subject: [PATCH 1/2] Update Sandboxie-Plus.iss --- Installer/Sandboxie-Plus.iss | 1 + 1 file changed, 1 insertion(+) diff --git a/Installer/Sandboxie-Plus.iss b/Installer/Sandboxie-Plus.iss index 184c4a1d7a..5f4ad7880c 100644 --- a/Installer/Sandboxie-Plus.iss +++ b/Installer/Sandboxie-Plus.iss @@ -675,5 +675,6 @@ begin // Remove shell integration. ShellUninstall(); + RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Xanasoft\{#MyAppName}'); end; From a7e4f346cb6a366293202f5d8376415151718c0c Mon Sep 17 00:00:00 2001 From: offhub <6871698+offhub@users.noreply.github.com> Date: Sat, 16 Nov 2024 22:36:58 +0300 Subject: [PATCH 2/2] change --- Installer/Sandboxie-Plus.iss | 1 - SandboxiePlus/SandMan/Windows/SettingsWindow.cpp | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Installer/Sandboxie-Plus.iss b/Installer/Sandboxie-Plus.iss index 5f4ad7880c..184c4a1d7a 100644 --- a/Installer/Sandboxie-Plus.iss +++ b/Installer/Sandboxie-Plus.iss @@ -675,6 +675,5 @@ begin // Remove shell integration. ShellUninstall(); - RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Xanasoft\{#MyAppName}'); end; diff --git a/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp b/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp index a5d1baab20..e01711814b 100644 --- a/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp +++ b/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp @@ -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();