|
|
#1 |
|
Junior Member
Join Date: Nov 2004
Posts: 2
|
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 |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2004
Posts: 2
|
That was it. Thank you very much!
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|