Merge pull request #4374 from sandboxie-plus/isaak654-cleanup
Improve deletion of leftovers
This commit is contained in:
commit
02c101d789
|
@ -139,6 +139,8 @@ Filename: "{app}\Start.exe"; Parameters: "open_agent:sandman.exe"; Description:
|
||||||
Type: dirifempty; Name: "{app}"
|
Type: dirifempty; Name: "{app}"
|
||||||
Type: files; Name: "{localappdata}\{#MyAppName}\addons.json"
|
Type: files; Name: "{localappdata}\{#MyAppName}\addons.json"
|
||||||
Type: dirifempty; Name: "{localappdata}\{#MyAppName}"
|
Type: dirifempty; Name: "{localappdata}\{#MyAppName}"
|
||||||
|
Type: files; Name: "{localappdata}\Temp\qtsingleapp-sandma-*"
|
||||||
|
Type: dirifempty; Name: "{localappdata}\Temp\sandboxie-updater"
|
||||||
|
|
||||||
|
|
||||||
[Messages]
|
[Messages]
|
||||||
|
@ -642,6 +644,14 @@ begin
|
||||||
Log('Debug: SbieCtrl /uninstall');
|
Log('Debug: SbieCtrl /uninstall');
|
||||||
Exec(ExpandConstant('{app}\sbiectrl.exe'), '/uninstall', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ExecRet);
|
Exec(ExpandConstant('{app}\sbiectrl.exe'), '/uninstall', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ExecRet);
|
||||||
end;
|
end;
|
||||||
|
if RegKeyExists(HKCU, 'Software\Xanasoft\{#MyAppName}') then begin
|
||||||
|
Log('Debug: RegDeleteKeyIncludingSubkeys HKCU\Software\Xanasoft\Sandboxie-Plus');
|
||||||
|
RegDeleteKeyIncludingSubkeys(HKCU, 'Software\Xanasoft\{#MyAppName}');
|
||||||
|
end;
|
||||||
|
if RegKeyExists(HKCU, 'Software\Xanasoft') then begin
|
||||||
|
Log('Debug: RegDeleteKeyIfEmpty HKCU\Software\Xanasoft');
|
||||||
|
RegDeleteKeyIfEmpty(HKCU, 'Software\Xanasoft');
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue