Fix software hive early unload in Recuva.script

This commit is contained in:
Homes32
2025-03-16 19:07:21 -05:00
parent 3c68a8b92d
commit d4e045c7ee

View File

@@ -35,8 +35,8 @@ Author=Homes32
Level=5
Selected=False
Mandatory=False
Version=1.0.2.0
Date=2025-03-09
Version=1.0.3.0
Date=2025-03-15
[Variables]
%ProgramFolder%="Recuva"
@@ -115,7 +115,7 @@ Else,Begin
End
// Disable Update Check
RegWrite,HKLM,REG_SZ,"Tmp_Software\Software\Piriform\Recuva","UpdateCheck",0
RegWrite,HKLM,REG_SZ,"Tmp_Software\Piriform\Recuva","UpdateCheck","0"
// Disable Telemetry & Ads
RegWrite,HKLM,REG_DWORD,"Tmp_Default\Software\Piriform\Recuva","PrefsPrivacyShareData1stParty",0
@@ -141,7 +141,7 @@ If,%cb_PinToStartMenu%,Equal,True,PinShortcut,StartMenu,Auto,"%PEPrograms%\%Prog
// Parameters.....:
// Return values..:
// Author.........: Homes32
// Remarks........:
// Remarks........: Registry Hives must be loaded!
// Related........:
// ===============================================================================================================================
[RegisterShellExtension]
@@ -159,7 +159,6 @@ Else,Begin
Set,%ShellExtDll%,"RecuvaShell.dll"
End
RegHiveLoad,Tmp_Software,%RegSoftware%
RegWrite,HKLM,REG_SZ,"Tmp_Software\Classes\AppID\RecuvaShell.DLL","AppID","{80109467-DE5A-42A1-9445-7E3952C80B6E}"
RegWrite,HKLM,REG_SZ,"Tmp_Software\Classes\AppID\{80109467-DE5A-42A1-9445-7E3952C80B6E}","","RecuvaShell"
RegWrite,HKLM,REG_SZ,"Tmp_Software\Classes\CLSID\{435E5DF5-2510-463C-B223-BDA47006D002}","","RecuvaShellExt Class"
@@ -167,7 +166,6 @@ RegWrite,HKLM,REG_SZ,"Tmp_Software\Classes\CLSID\{435E5DF5-2510-463C-B223-BDA470
RegWrite,HKLM,REG_SZ,"Tmp_Software\Classes\CLSID\{435E5DF5-2510-463C-B223-BDA47006D002}\InprocServer32","ThreadingModel","Apartment"
RegWrite,HKLM,REG_SZ,"Tmp_Software\Classes\Directory\shellex\ContextMenuHandlers\RecuvaShellExt","","{435E5DF5-2510-463C-B223-BDA47006D002}"
RegWrite,HKLM,REG_SZ,"Tmp_Software\Classes\Folder\shellex\ContextMenuHandlers\RecuvaShellExt","","{435E5DF5-2510-463C-B223-BDA47006D002}"
RegHiveUnLoad,Tmp_Software
[#ExtractProgram#]
// ===============================================================================================================================