Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make my application have a 30 day trial period [duplicate]

how to create trial period setup file for 30 days of my c# windows application?

like image 381
user437783 Avatar asked Sep 02 '10 09:09

user437783


People also ask

Can I install trial version twice?

The Office trials are written to explicitly prevent you from installing the same trial twice on a computer. Since the Office Pro trial has expired on this computer you have only one option. You would have to RE-INSTALL WINDOWS.

How do you reset a software trial period?

All you have to do is take a snapshot of your Windows Registry before you install the trial for the first time. Then install and use the trial, and when the time period runs out, uninstall it, then restore the Registry to the saved values it had before the trial.

How does software know when trial period is over?

In this case, when the program is installed, it creates several files in different locations, especially the ones that are related to Windows functioning. Based on the data written to these files, the program can detect if the trial period is still remaining or if it has expired.


2 Answers

Making C# application a 30 day trial version

http://www.dotnetspider.com/forum/130150-Making-C-application-day-trial-version.aspx

How to add more functionality in setup file? - C#

http://www.daniweb.com/forums/thread226490.html

like image 197
ratty Avatar answered Sep 29 '22 11:09

ratty


One possible solution is to use the registry and write there in some key the installation date. This step is done in the installation time/ first time the application is in use. Then periodically check the current date against the installation date.

You can take also these references:

  1. http://www.codeproject.com/KB/cs/Trial_Maker.aspx

  2. http://trial.qarchive.org/

  3. Using .Net built-in classes

like image 22
rkellerm Avatar answered Sep 29 '22 09:09

rkellerm