[eluser]PhilTem[/eluser]
I don't think it's a CI thing, but I'll tell you how I'd implement such a function.
Find a way to uniquely identify an httpd/apache/webserver (maybe get the OS-version, the PHP-version, the domain (best the TLD + SLD) it's running on and some other fancy
yet unique stuff) and create a hash from this information.
Either this hash is hard-coded into the copy you sold or your code performs a cURL request to your webserver, where the first-time execution code is stored within a database. Then just check whether the provided hash matches the stored.
Best you put the cURL-request to MY_Controller and cache the result for some 24h. Otherwise your customer will be very upset because his server makes requests to another server on every fu***** page-load.