tsantos
Posts: 14
Joined: Sat Jan 12, 2008 2:49 pm
Contact: ICQ

Password edit box

Hello!

I need to create a installer that requires username and password. It is necessary to create two passwords edit boxes for the password.

The user needs to write the password twice, and the installer has to verify if all edit boxes have the same password.

I need help. How can I do that?

Thank You!

Regards,

Thiago C S.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Password edit box

Hi,

Perhaps this thread will help you:
http://www.advancedinstaller.com/forums ... f=2&t=4498

To check if two edit boxes contain the same text you can compare their properties.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tsantos
Posts: 14
Joined: Sat Jan 12, 2008 2:49 pm
Contact: ICQ

Re: Password edit box

Do I have to use VBScripts? Do I have to create custom actions for that?

Is there an exemple of this situation?

Thank You.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Password edit box

Hi,

If you only want to compare the values in the editboxes, you don't need a custom action. Instead, you can use the approach from this how-to. You can modify the error message according to your needs and the condition can use the properties of the two editboxes. For example, if the edit boxes use the properties PASSWORD and CONFIRM_PASSWORD, the condition to proceed would be:

Code: Select all

PASSWORD = CONFIRM_PASSWORD
If you need to perform other validations, can you please give me more details about them?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”