I need to allow customer to evaluate my product 30 days, and then he will purchase a license, which should be renewed after 90 days.
This is a most common way to distrubute a software - allow several days to trial and then customer must purchase a license. License should expire after some days and customer must pay to renew it.
To do this with your file, let's do the following:
Locked file, created by LockXLS will work 30 days on customer's PC and after 30 days it will ask him to enter Activation Code. Now, we should give customer Activation Code, which will work only 90 days.
After entering this Activation Code your customer will use software 90 days, and then he will be asked to enter Activation Code again.
Also, we recommend you to review this example. It contains the project you need.