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
Custom page with text boxes
3 posts
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
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
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.
To read the return value into any variable use ReadINIStr.
See the examples in Examples and Contrib\InstallOptions.