Search code examples
installationmac-addressserial-number

Install only on one machine


There is a Windows program which is downloaded after entering a valid serial in a web page. Now, I want to limit the user to install the program only on one single PC, the one he or she installed for the first time.

I need some advice on creating a such system. Thank you.

P.S. Serial key must be entered on the web page instead of the installer.


Solution

  • Sounds like you need to create a downloadable activex control program that will run on the client's machine in which it will interrogate:

    • MAC of network adapter
    • Windows Version, including SP
    • Hard disk serial number
    • Processor make and CPU type

    And relay the information back to the website, then generate the key, and attach the key to the download installer and permit the user to download the installer in which the key is then read in at run-time and checked against the machine that is running on.

    The only thing is the ActiveX must be written in C/C++ as you cannot do it on the .NET language as that is assuming the client's machine will have the runtime installed which IMHO is a dangerous assumption.

    Hope this helps, Best regards, Tom.