Skip to main content
Inspiring
August 8, 2011
Question

Trial or Time limited versions

  • August 8, 2011
  • 1 reply
  • 5284 views

Hi

Is there any (simple) way to create a time limited version of a compiled script file? For example 30 days or 10 uses etc?

If there's nothing built in does anyone know of any 3rd party solutions?

Thanks for your time.

This topic has been closed for replies.

1 reply

Paul Riggott
Inspiring
August 8, 2011

You could write the date out to a file and check this file each time the script is run.

Inspiring
August 9, 2011

Would not changing the system date get around this?

April 7, 2012

Changing the system date would get around it but the user would have to change the system time to the time the trial started to the expiry time. Not many users would want to change the system time as it would impact on a multitude of things.


Just thinking aloud, i am too looking for a mean to create time limited usage on my scripts.

Is it possible to have a "file" which records either the amount of time, or the number of times the script has been used. The next question is, how do we avoid our potential "clients" from tampering with that particular file?

Conditions:

If the script open and cant find that particular file, it will not run.

Script open the file and read off how many times the file has been run.

If the maximum time has been reached, file closes.

If not, finish up the script and then add Count+1 into the file and close the file.

Possible?