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!

FleXNSB
Posts: 2
Joined: Thu Sep 22, 2016 3:57 pm

Create Registry Entry From Dialog

Hello,

I am creating an installer package. I have created a dialog page that allows the installer to enter values into a couple of different "Edit Boxes".

Upon the user hitting the "Next" button, I would like to write a registry entry involving the values they entered.

How could I accomplish this?

Thanks,

Brian
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Create Registry Entry From Dialog

Hello Brian and welcome to our forums,

Every edit box has an associated property. You can see it in "Dialogs" page, after selecting your edit box in the "Properties" right pane. The value the user types in the edit box is always set in the edit box associated property.

So, to achieve what you want you can use formatted references of your edit box properties in the "Value" field of a registry added in "Registry" page. Just go to "Registry" page and add a new registry value like this:
  • Name: my_reg
    Data: [EDIT_PROP_1] [EDIT_PROP_2] [EDIT_PROP_2] ...
If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”