Hi Meena and welcome to Advanced Installer forums
I've attached a .zip archive that contains a sample which implements this scenario.
Basically, I have an
edit box where the user needs to enter a valid email address in order to proceed further with the installation.
On the same dialog I have tho custom actions which are executed as published event on the
[ Next >> ] button:
This custom actions I've added in the
Custom Actions page
without sequence.
In the
Execute inline script predefined custom action I've made a
dummy validation email address. I make sure the length of the entered email address is more than 5, before the
@ character I have at least 2 character, etc. If the entered email address is
valid then I set a property
VALID_EMAIL_ADDRESS with the
valid string.
If the entered email address doesn't fulfill my minimum requirements then I set this property with the
invalid string.
When the user hit the
[ Next >> ] button, I display a message box if the entered email address is not valid and also I prevent the user to proceed further with the installation until he enter a
valid email address.
Please let me know if there is anything I can help with.
Best regards,
Dan