ReadRegStr problem
Hi,
I'm having a little problem and I can't see the solution (which should be, I guess, pretty straightforward):
!define SHELLFOLDERS "Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"
[...]
Function un.RemoveSettings
ReadRegStr $1 HKCU ${SHELLFOLDERS} "Local AppData"
StrCmp $1 "" noLocalAppData
RMDir /r "$1\CompanyName\ProductName"
noLocalAppData:
FunctionEnd
Returns this error:
ReadRegStr expects 4 parameters, got 5