Archive: windows registry extractor (problem)


windows registry extractor (problem)
i have a problem

i write a script for extract a part of windows registry

this is my script


;--------------------------------
;Include Modern UI

!include "MUI.nsh"

;--------------------------------
;General

;Name and file
Name "Registry Extractor"
OutFile "REG_Extractor.exe"

ShowInstDetails show

;--------------------------------
;Interface Settings

!define MUI_ABORTWARNING

;--------------------------------
;Pages

!insertmacro MUI_PAGE_INSTFILES

!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES

;--------------------------------
;Languages

!insertmacro MUI_LANGUAGE "English"

;--------------------------------
;Installer Sections

Section "Dummy Section" SecDummy

SetOutPath "$EXEDIR"

nsExec::ExecToLog 'Regedit.exe /E temp0.ini HKEY_LOCAL_MACHINE\SOFTWARE\'
nsExec::ExecToLog 'Regedit.exe /E temp1.ini HKEY_CURRENT_USER\Software'


SectionEnd


how can i delete the parts that don't interest to me ?

for example all HKEY_LOCAL_MACHINE\SOFTWARE\\Classes\etc etc

tnx for help and sorry my bad english

Use the standard NSIS registry commands like ReadRegStr.