Thread: Registry plugin
View Single Post
Old 20th April 2006, 08:36   #62
rxs2k5
Member
 
Join Date: Apr 2006
Posts: 66
nice nice thanks
but how do I extent the search beside this
HKEY_CURRENT_CONFIG

like

HKEY_LOCAL_MACHINE " name of software " "the value" "data"
HKEY CURRENT USERS " Name of software " " the value" "data"
Quote:
Section /o "Search and write founded in text file" SearchAndWriteInFile
StrCpy $R0 HKEY_CURRENT_CONFIG

${registry::Open} "$R0" "/K=0 /B=1" $0
StrCmp $0 -1 0 loop
MessageBox MB_OK "Error" IDOK close

loop:
${registry::Find} $1 $2 $3 $4

StrCmp $4 '' close
WriteINIStr 'C:\filename.ini' '$R0\$1\$2' '$2' '$3'
goto loop

close:
${registry::Close}
${registry::Unload}
FileClose $R1

Exec '"notepad.exe" "C:\filename.ini"'
SectionEnd
rxs2k5 is offline   Reply With Quote