0

After Installing the application in client system,the application folder should not get copied,even it is copied it should not work in other systems When I click the .exe file. How can I set a password or secure my application files?

leppie
  • 115,091
  • 17
  • 196
  • 297
Sai576
  • 1
  • 1

1 Answers1

0

You can add some values to user's registry during installation and in your app's startup check that value.

Armen Mkrtchyan
  • 921
  • 1
  • 13
  • 34
  • i haven't worked with registry keys till now,so please suggest me with procedure for adding keys or type of values to be given at registry – Sai576 Apr 15 '15 at 08:22
  • you can use setup factory (http://www.indigorose.com/products/setup-factory/free-trial-download/) for building your setup file. In that program you can add registry values to user's registry. – Armen Mkrtchyan Apr 15 '15 at 08:30
  • in your program you can read registry key by this way (http://stackoverflow.com/questions/18232972/how-to-read-value-of-a-registry-key-c-sharp) – Armen Mkrtchyan Apr 15 '15 at 08:31
  • so you can check that registry and prevent your app from running – Armen Mkrtchyan Apr 15 '15 at 08:32
  • we are using installshield setup currently,how do i set registry values using it ? – Sai576 Apr 15 '15 at 09:02