Archive: can't access user input


can't access user input
Hi Everybody,

I tried to read some vals from a InstallOptions dialog. I read the samples and faqs, but I can't find my fault. Can you help me whats wrong here?

The MsgBox is empty every time

--- .ins

Page custom aktivierung1 aktivierungProc ": custom page"

Function aktivierung1
GetTempFileName $R0
File /oname=$R0 aktivierung.ini
InstallOptions::dialog $R0

FunctionEnd

Function aktivierungProc

ReadINIStr $0 "aktivierung.ini" "Field 3" "State"

MessageBox MB_OK $0
done:
FunctionEnd

--- part of .ini

[Field 3]
Type=Text
MaxLen=4
MinLen=4
Left=13
Right=51
Top=114
Bottom=127


You are reading from the wrong file. You have extract the INI file as $R0 but you are trying to read from "aktivierung.ini" in the ReadINIStr line.


That was it. Thank you very much!