I am using the Custom DLL validation for serial number.
My serials are either 9 or 10 digits long. While I can specify the Template <##########> which accepts 10 digits it will not accept 9 digits. And if I specify the 9 digits template the 10 digits are not accepted.
The problem is that the Installer it seems first verifies the serial entered against Template and only if that validation passed it calls the DLL validation function.
I cannot find a way to enable 9 and 10 digit serials to be validated. I replaced the Masked Edit with standard Text Box and while I can enter any value the internal validation against the Template is still going on and is throwing the message that serial is not valid even before calling my custom validation DLL function.
Any suggestions on how to workaround this problem?