If I would like to write a script that have below function:
firstly, read a regedit string, if that is "1", set the section to selectable, else set the section to unselectable. could anyone can tell me how can I do that?
my wrong script:
finally, I'm sorry for my poor english XDSection /o "Test"
Call CheckInstall
SectionEnd
Function CheckInstall
ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\X-Tiger" "TEST"
StrCmp $0 "1" +1
SectionIn RO
FunctionEnd