Edit Mask - Advanced Installer Community

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!

awing
Posts: 7
Joined: Wed Dec 05, 2012 7:03 pm

Edit Mask

My software requires a key in the form of a GUID that the user must enter during the installation process.

I assume I can only do this with a Masked Edit text box in a custom dialog. It can only allow the following format <########-####-####-####-############>.

I referenced the TEST.AIP sample program, but it allows empty strings to be present and allows Next to navigate to next page.

How do I require the user to enter a full GUID and not allow them to proceed to next screen if they enter too few or too many characters

Thanks!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Edit Mask

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can use our "Licensing" feature.

Go to the Product Information\Licensing page, select "Package Serial Validation" from the "Configurations" panel and check the "Use Serial Validation" checkbox. In the "Value" text field you can choose the format for your serial number.

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

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

Return to “Common Problems”