Skip to content

Commit 111a5f7

Browse files
authored
Update RegCleaner.au3
1 parent 33eb55d commit 111a5f7

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

bin/RegCleaner.au3

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@
88
#include <GuiListView.au3>
99
#include <MsgBoxConstants.au3>
1010
#include <WindowsConstants.au3>
11+
#include "..\NetWebView2Lib.au3"
12+
13+
Global $_g_s_ELEMENTs = ''
1114

1215
_Cleaner()
1316

1417
Func _Cleaner()
18+
ConsoleWrite("! MicrosoftEdgeWebview2 : version check: " & _NetWebView2_IsAlreadyInstalled() & ' ERR=' & @error & ' EXT=' & @extended & @CRLF)
19+
1520
; === Configuration ===
1621
Local $sSearchTerm = "NetWebView2"
1722
Local $aTargets[2] = ["HKEY_LOCAL_MACHINE64\SOFTWARE\Classes", "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Classes"]
@@ -51,6 +56,9 @@ Func _Cleaner()
5156
GUICtrlSetData($idStatus, "Scan complete. Found " & $iTotalFound & " keys.")
5257
EndIf
5358

59+
ConsoleWrite($_g_s_ELEMENTs & @CRLF)
60+
61+
5462
While 1
5563
Switch GUIGetMsg()
5664
Case $GUI_EVENT_CLOSE
@@ -96,7 +104,9 @@ Func __Registry_Scan_Recursive($sKey, $sSearch, $hLV, ByRef $iCount, $idStatus,
96104
If StringInStr($sSubKey, $sSearch) Or StringInStr($sData, $sSearch) Then
97105
$iCount += 1
98106
Local $sDisplayData = ($sData <> "" ? $sData : "Folder/Container")
99-
GUICtrlCreateListViewItem($sFull & "|" & $sDisplayData, $hLV)
107+
Local $s_ELEMENT = $sFull & "|" & $sDisplayData
108+
$_g_s_ELEMENTs &= $sFull & "|" & $sDisplayData & @CRLF
109+
GUICtrlCreateListViewItem($s_ELEMENT, $hLV)
100110
_GUICtrlListView_SetItemChecked($hLV, _GUICtrlListView_GetItemCount($hLV) - 1)
101111
EndIf
102112

0 commit comments

Comments
 (0)