Old 28th January 2006, 04:36   #1
jMrX
Guest
 
Posts: n/a
Question Suggestion for "Copy protection"

How can i secure my program to piracy?
I want to have a custom page that will ask for CD KEY! and i want that cd key RANDOM. can you pls give me an advic for this problem

Sorry for my Poor english..
  Reply With Quote
Old 28th January 2006, 04:40   #2
jMrX
Guest
 
Posts: n/a
And where can i find the whole tutorial for NSIS. i want to be like you PROs.

Sorry for my Poor English...
  Reply With Quote
Old 28th January 2006, 09:49   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
You can use my PassDialog plugin for secure input:
http://nsis.sf.net/File:PassDialog.zip

I don't understand why you want the installer to generate a random CD key. How is the user going to know what it is if it doesn't stay the same!? Unless you want to create a CD key for each CD distribution, in which case you should write an external executable in VB/C or even NSIS to perform this operation.

-Stu
Afrow UK is offline   Reply With Quote
Old 28th January 2006, 10:21   #4
jMrX
Junior Member
 
Join Date: Jan 2006
Location: Philippines
Posts: 15
Send a message via Yahoo to jMrX
i already test passdialog.zip, it has only 1 serial and you will hard code it inside your script. how can i do a random test to all the keys i hard coded on my script. example, i have a 10 key in my script. and if someone install myapp.exe and enter the key, the sequence will check if the inputed key match on any of my serial.
jMrX is offline   Reply With Quote
Old 28th January 2006, 16:53   #5
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Use StrCmp

-Stu
Afrow UK is offline   Reply With Quote
Old 29th January 2006, 06:29   #6
jMrX
Junior Member
 
Join Date: Jan 2006
Location: Philippines
Posts: 15
Send a message via Yahoo to jMrX
Yeah!! that thing to the trick thank you very much!.
jMrX is offline   Reply With Quote
Old 30th January 2006, 19:16   #7
dandaman32
Senior Member
 
dandaman32's Avatar
 
Join Date: Jan 2005
Location: Look behind you.
Posts: 209
Storing the key in the script is very insecure. Consider using DCryptDll instead (but it's a little more advanced)

-dandaman32

ExperienceUI for NSIS | Latest project: Enano CMS
Do not PM me on the Winamp forums, I hardly ever check my messages here; you are more likely to get my attention through the ExperienceUI forum.
dandaman32 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump