flip209 Posted September 2, 2007 Share Posted September 2, 2007 Does any one a better way to read all keys in a hive that the key = displayname I Have : CODE while 1 $var = RegEnumKey("\\" & $comname & "\"&"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", $s) $var1 = RegRead("\\" & $comname & "\"&"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"& $var, "DisplayName") if @error = 0 then GUICtrlCreatelistViewItem(" |" & $var1,$tree) ElseIf @error <> 0 Then $var1 = RegRead("\\" & $comname & "\"&"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"& $var, "QuietDisplayName") ElseIf @error = 0 then GUICtrlCreatelistViewItem(" |" & $var1,$tree) Elseif @error <> 0 Then ExitLoop EndIf $s += 1 WEnd " I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted September 3, 2007 Moderators Share Posted September 3, 2007 This may be worth taking a look at.Uninstall Apps Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now