Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Protect the Setup for Only Single Installation
 

Protect the Setup for Only Single Installation

I want to create the Setup Project for only Single Installation. After one Installation,the Product should beexpired.

Is it Possible to do this type of Setup using VS Deployment Project?

What is the Process?
Venkata Prasad K  Monday, September 14, 2009 4:18 AM

There is nothing built-in that will allow a setup to be installed on only a single system in the world, if that's what you're asking. The way that apps (not setups) typically do this is by requiring a connect to the internet when they are run, typically calling a web service that registers them. If you mean that every user that gets this setup can only install it once, then a solution is to give each copy a unique key that is registered with a web service, and anyone calling in with an identical key cannot use the app. If you mean you want your app to be a trial version that expires sometime, then encrypt the date that it's first used, and keep it on the client system or register the data with the key at a web site.


Phil Wilson
PhilWilson  Monday, September 14, 2009 6:22 PM

There is nothing built-in that will allow a setup to be installed on only a single system in the world, if that's what you're asking. The way that apps (not setups) typically do this is by requiring a connect to the internet when they are run, typically calling a web service that registers them. If you mean that every user that gets this setup can only install it once, then a solution is to give each copy a unique key that is registered with a web service, and anyone calling in with an identical key cannot use the app. If you mean you want your app to be a trial version that expires sometime, then encrypt the date that it's first used, and keep it on the client system or register the data with the key at a web site.


Phil Wilson
PhilWilson  Monday, September 14, 2009 6:22 PM

You can use google to search for other answers

Custom Search

More Threads

• Installer not finding .Net framework properly
• How to install a NDIS driver through MSI installer?
• Winforms app settings for ALL users
• ProjectInstaller class...overridden Uninstall method not being called
• Problem with not replacing content files that have been modified in reinstallation
• ClickOnce problem with multiple updates without rebooting
• Deploy 2 projects into 1 Setup package
• Windows Firewall Blocks ClickOnce Deployment (via IIS)
• Strange error with the deployment of a ClickOnce setup
• More than 16 text boxes ?