Assalam-u-Alaikum,

You can use the Registry.

1) Right Click Setup project -> View -> Registry
2) Add Key (normally in HKEY_LOCAL_MACHINE\Software\[Manufacturer])
3) When your Application executes first check the Registry if that key
does NOT exist then terminate the application with a message.

Regards,
Arsalan Tamiz

On Feb 20, 10:20 pm, "[email protected]"
<[email protected]> wrote:
> hye every body,
>
> i have develop application in vb.net 2005 now em at deployment stage
> and i have also created setup of the application using deployment and
> setup wizard.
> when i install the setup file on the target computer it installed
> successfully but when i copy the installed files / folder form target
> computer's programs folder and paste it to another computer's
> directory the exe file also works fine and my project works also fine
> on other computer
> but i want that if any one copy the installed folder from one pc on
> which it is installed and paste it to any other pc's directory then my
> application should not be run.
> is there any option in making setup of my application in deployment
> and setup wizard of visual studio 2005?
> plz if any one know how to solve this issue then plz help me this is
> my first project which i want to deployee
>
> thanks in advance..
> regards
> Faraz Ahmed

Reply via email to