PDA

View Full Version : Add a new screen to the installation


lupetto77
24-08-2017, 13:25
How do I add a new screen with an inno setup text box?
And then use the text box so that the latter goes to write on a file in utf-8?

lupetto77
24-08-2017, 17:35
Using Inno Setup Compiler I have added a screen with the various components, I should read the content that is inserted into a textbox and write it in an ini file.

Same thing with the combobox component.

I added the section
[Ini]
Filename: {app} \ fileProva.ini; Section: prova1; Key: Name
Filename: {app} \ fileProva.ini; Section: Prova2; Key: Surname

How do I read from the components i have inserted?

lolaya
26-08-2017, 13:17
[Setup]

LicenseFile=C:\License.to.txt
InfoBeforeFile=C:\License.to.txt
InfoAfterFile=C:\License.to.txt

etc.

lupetto77
27-08-2017, 16:01
Hi lolaya, sorry can you give me an example if I have a textbox in the installation screens how do i write it on the ini file?

Just do this to write on the ini file?
[Ini]
Filename: {app} \ fileProva.ini; Section: prova1; Key: nomeTextBox1
Filename: {app} \ fileProva.ini; Section: Prova2; Key: nomeTextBox2