Click here to Skip to main content
15,887,880 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i want to build a setup for my application,but the condition is, it only installed once after that if the user tries to install in another system it should not work.please let me know if you have solution i am struggling from a week ago.
Posted

1 solution

Well I think instead of allowing the user to install the desired application once you better look more into licensing your application might work out better in this scenario. What if the user formats the HDD? And needs to install it again? I do not think this is the right approach. For licensing references please check the following links:
How to give licensing for the windows application[^]
Create an expiration for C# application[^]
Creating a product key for C# application[^]
License Key Generation[^]

However if you are really keen on implementing your way see this article in Cp.
How to limit windows application to install only one computer using c#?[^]
Some additional links regarding to your way,
Visual Studio Windows Application Setup Project[^]
Create custom dialogs for use in your Visual Studio Setup projects[^]
Extending Visual Studio Setup Project[^]

Good luck,
OI
 
Share this answer
 
v2
Comments
Shahin Khorshidnia 2-May-13 5:49am    
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900