Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
offhub committed Nov 16, 2024
1 parent 10166f4 commit a7e4f34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion Installer/Sandboxie-Plus.iss
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,5 @@ begin
// Remove shell integration.
ShellUninstall();
RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Xanasoft\{#MyAppName}');
end;
3 changes: 3 additions & 0 deletions SandboxiePlus/SandMan/Windows/SettingsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a7e4f34

Please sign in to comment.