Pyjamarama
12th November 2003 07:17 UTC
Custom page with text boxes
Hi!
I m building a set up app using NSIS (I am total noob in that) and I want to create a custom page with 7 text boxes of which the input will be stored in 7 global variables.
I have read the documentation but I have big trouble creating the page.
Can someone please make it more clear to me or post a n example script so that I can figure it out?
Thanx in advance...and sorry for my poor English
Pyjamarama
12th November 2003 09:24 UTC
I have created an ini to get 5 text boxes.
One of them I want to make it an DirText but when I put it in the type
of section [Field 2] it is not even visible...
And I cannot figure out how on earth I could get the context in a global var...
[Settings]
NumFields=5
[Field 1]
Type=label
Text=Page A
Left=0
Right=-1
Top=0
Bottom=10
[Field 2]
Type=DirText
Left=0
Right=-1
Top=20
Bottom=30
[Field 3]
Type=text
Left=0
Right=-1
Top=40
Bottom=50
[Field 4]
Type=text
Left=0
Right=-1
Top=60
Bottom=70
[Field 5]
Type=text
Left=0
Right=-1
Top=80
Bottom=90
kichik
12th November 2003 15:01 UTC
There is no such type called DirText. There is DirRequest.
To read the return value into any variable use ReadINIStr.
See the examples in Examples and Contrib\InstallOptions.