• Post Reply Bookmark Topic Watch Topic
  • New Topic

Demo version.  RSS feed

 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I had developed a product and now we want to deliver to our customers. But I want the program to be first used as in "demo" version. I need the prgram to kill itself after couple of days. How it can be done. ?

thanx,

 
Rick Beaver
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A few options

The first time the program is started write a serialized date somewhere then each time the app starts it can look for that file and see if the trial is up.

On Windoze you could write to the registry I guess.

Neither option is fool proof but given enough obscurity about the filename you can usually hide it from most users.
 
Stuart Gray
Ranch Hand
Posts: 410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could also consider just feature limiting the demo instead of time limiting it (or do both). Don't let the user save more than 100 records or whatever (depending on the application).
 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there,

obscurity . Its ok. I guess i might will be able to do but once the date is over I would like to delete all the files. Howz that possible progmatically ?.

 
Akhilesh Trivedi
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess thats just not possible gurpreet. How do you write a java program to commit a suicide??? It is simply unassumable, may be you can think of deactivating things but self-deleting... somewhere some traces will be left out.
Wait wait.. may be you can try a deeeeeeeeeeep multi-threading research, a thread that will start, and then suspend so late that every other thread is finishes its execution, and then this one starts deleting everything and finally expire by itself... bole to dies its natural death. Seems like a suicide-bombers of todays generation.. ) Try a hand on this yar, i dont know how far we would reach, but it should be real interesting thing. Good luck.
 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi trivedi and others

yaar u know indians are JUGADO. So i think i must go with serialized dates. But how shall i put the logic if user attempts to put the date backward or tries to move the system date ahead ?. U see i had to handle all thiese issues also. I dont want ot loose my money.


 
Akhilesh Trivedi
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gurpreet !
Your guess is right, long back i had an Anti Virus Software, yes the one and only..... ok forget about it, that was a trial version... logic was, every time i will log on to windows it will show me a message like
" 30 days left for the expiry" and next day
"29 days left for the expiry"

And you know what, one day i could fool it simply by resetting the system, dating it back to the time i was born. Not surprisingly on next reboot the software indicated...

"7423 days left for the expiry."

Ok, coming back to your point, gurpreet, dont hold the "date".... hold the "clock". Hunt "java docs and apis", I guess there should definitely be some funtion which would deliver you time elapsed since "January 1, 1970". Hold this pillar and you can always generate exact date by yourself, no matter what the system date is.

But however at one place you would definitely need to dig harder, fix and hide this "reference-pillar", may be in some registry or whatsoever. :roll:

Why dont you restrict on functionalities than on usage-time. My personal advise would be to give an everlasting-trial-version with limited-functionalities, than a full-fledged-demo-version for a finite-time.
 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

akhil u r GOOD BOY.
I will try to fix the problem with clock method. Good idea .
I also agree with ur opinion to give the product in limited fuctionaities. Yaar, u know we guys r money loving so we have to give our customers the soft kiss of hot cake. Then after he agrees for purchase then i will him the full version withou ur idea.

keep in touch through mails honey

urs freind gurpreet
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!