So I'm trying to create an installer with a serial number verification in Inno Setup using this:
CustomPage for Serial Number in Inno Setup
^For the serial number page
How can i set the serial for this serial form (Inno Setup)
^For the checking of the serial entered. Both are made by TLama!
So I'm trying to make the code use multiple serial numbers, I tried doing this (using the code from the second link):
CanContinue := GetSerialNumber('-') = '62FFU-GA4N8-T8N6W-WLQJW-N6WLQ-AJKD6';
CanContinue := GetSerialNumber('-') = 'TEST1-RANDO-MFAKE-THING-YBLAB-BLA55';
but when doing that, only the second one will work.
I don't really understand the Inno Setup code all that much, but can anyone explain how to make this work please? Thanks!