litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

Radiobutton selected memory

Hi,

I have an installer that shows a dialog with a radiobutton that has two options: simple and advanced. The value of this radiobutton is kept in the registry.
For the next version, I want to show this dialog with the selected option as is kept in the registry. So, if a user has choosed the simple option, I want him/her to show the simple option selected; and if a user has choosed the advanced option, the dialog should show the advanced option selected.

I hope my poor english is enough to make the question clear.
Is there any way to do that?


Thanks in advance,
Arnau.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Radiobutton selected memory

Hi Arnau,

To achieve you can go in the "Install Parameters" page, create the property related to that "Radio Buttons Group" control and check the "Set persistent property" options for it. Another method is to go in the "Search" page and create a registry search that retrieves the value stored in the registry and puts it in the property related to that "Radio Buttons Group" control.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

Re: Radiobutton selected memory

Hi Eusebiu,

If I'm understanding this in the right way, the first option will be effective not on the next version, but in the following that (if users has version 1, I'll set the proporty persistent on version 2 and they'll see on version 3); isn't it?
I'll try the second option and let you know.


Thanks a lot and kind regards,
Arnau.
litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

Re: Radiobutton selected memory

I've tried the second option and none of the radiobuttons is selected.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Radiobutton selected memory

Hi Arnau,

Yes, the first option will behave as you described. Can you please send me your AIP file so I can try to find why the second option doesn't work for you? Also, please tell me the exact values that you store in the registry when the user selects the simple or the advanced options.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

Re: Radiobutton selected memory

Hi Eusebiu,

When collecting the info to write the answer, I've found the mistake: I was not searching in the right key of the registry... (facepalm) :roll:
I've corrected the error and it is working fine.

Thanks a lot and best regards,
Arnau.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Radiobutton selected memory

You're welcome Arnau. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”