From ca0066fef476b2cc88880c59e19672845fe4f2b6 Mon Sep 17 00:00:00 2001 From: mpheath Date: Mon, 26 Jul 2021 01:38:43 +1000 Subject: [PATCH] Fix innosetup script to remove shell integration keys --- Installer/Sandboxie-Plus.iss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Installer/Sandboxie-Plus.iss b/Installer/Sandboxie-Plus.iss index 7287eb73..2f3422fc 100644 --- a/Installer/Sandboxie-Plus.iss +++ b/Installer/Sandboxie-Plus.iss @@ -404,8 +404,8 @@ begin RegDeleteValue(HKEY_CURRENT_USER, 'Software\Microsoft\Windows\CurrentVersion\Run', 'SandboxiePlus_AutoRun'); // remove shell integration - RegDeleteValue(HKEY_CURRENT_USER, 'software\classes\*\shell', 'sandbox'); - RegDeleteValue(HKEY_CURRENT_USER, 'software\classes\folder\shell', 'sandbox'); + RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'software\classes\*\shell\sandbox'); + RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'software\classes\folder\shell\sandbox'); // delete other left overs DeleteFile(ExpandConstant('{app}\SbieDrv.sys.w10'));