We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Karl77
Posts: 1
Joined: Thu Jan 12, 2023 11:59 pm

Box to chose from

Hello, I am new here, please help me with:

Create a list of values that the user select during installation and put his selection in the ini file.

For example:
Choose language
Name: English Value: UK
Name: Spanish Value: ES

So the user sees English Spanish in the list, but in the ini config the Value is UK or ES
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Box to chose from

Hello Karl and welcome to our forums,

In order to display a language selection dialog, you can proceed as it follows:

- go to "Translations" page

- add another language to your package

- "Options" --> "Create only a multilingual package"

- "User Interface Language" --> "Display language selection dialog"
Screenshot_54.png
Screenshot_54.png (46.94 KiB) Viewed 3822 times

Regarding the .INI file, I believe the best way would be to do this programatically, through a Custom Action.

From the above dialog, the ProductLanguage property will be set. Based on this, you can create a script that updates the .INI file based on that property.

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”