In addition to the above suggestions, another option might be to use an installer that supports license keys.
InstallForge seems to have support for this:
installers-for-windows-programs~installforge[
^]
I have never tried this installer myself, so can not give any help.
For
Inno Setup this tool exists:
Inno Setup Key Generator[
^]
Inno Setup also has an option itself, but this will require some scripting:
Quote:
User Information wizard page which asks for the user's name, organization and possibly a serial number
Inno Setup Help[
^]