PDA

Click to See Complete Forum and Search --> : deployment problem


bhavin12300
Aug 11th, 2008, 10:15 AM
hi.
I have created one database driven application and installed it to my client's computer by using setup file (created deployment wizard)
It is working just file there and it is installed in directory
C:\Program Files\Default Company\setup2

Now my client had copied that folder and gave it to his friend to run on his computer,and my application working fine on his computer without installing setup on his pc.(he has just paste above direcoty which is "setup2" ).

So what do i do in my code or something else that this can not be done.
Anything need to be done while creating setup for project???
please let me what do i do so that when he make paste my application folder to his pc ,he should not be able to run it.

obi1kenobi
Aug 11th, 2008, 10:33 AM
Well, you could either try a rudimentary key system, e.g. at first run, or you could read the serial number of a part of the pc, e.g. the CPU and compare it to a stored value. IMHO these are the simplest ways of doing it. If you need any further info or help I'd be glad to provide them.

Hack
Aug 11th, 2008, 11:40 AM
Moved to Application Deployement

bhavin12300
Aug 11th, 2008, 12:30 PM
Well, you could either try a rudimentary key system, e.g. at first run, or you could read the serial number of a part of the pc, e.g. the CPU and compare it to a stored value. IMHO these are the simplest ways of doing it. If you need any further info or help I'd be glad to provide them.
Sir,how would i know serial numner of my client computer so that i can compare it.

obi1kenobi
Aug 11th, 2008, 02:32 PM
Have a look at this thread:
http://www.vbforums.com/showthread.php?t=337677&highlight=CPU+serial+number