Checking for Registry Entries
Is it possible to check if a Registry entry exists (i.e. HKLM/Software/abc...)
If so, how?
Archive: Checking for Registry Entries
Checking for Registry Entries
Is it possible to check if a Registry entry exists (i.e. HKLM/Software/abc...)
If so, how?
The error flag will be set if it doesn't exist.
ok, that works for a specific registry key. any way to check for a registry folder? no key...
HKLM/Software/Abc/xyz/
as opposed,
"HKLM/Software/Abc/xyz/123"
"root_key" "sub_key" "name"
b/c if I leave the name empty it wont work.
error
also, that code doesnt work, i get an error when I compile...
Processed 1 file, writing output:
Error: could not resolve label "Empty" in install section "Sec1" (0)
Error - aborting creation process
ReadRegStr $0 "HKLM" "SOFTWARE\ABC\LicenseStores" "temp_key"
StrCmp $0 "" Empty NotEmpty
HKLM Software/Abc/xyz/123 ""