Need Your valuable suggestion
-
Hi All I need your suggestion for my following questions. Recently i have buillt one standalone desktop software application and my question is , 1. Application should be installed only one pc. 2. Once installed single PC it wont work/install otherPC/same PC next time. 3. We cannot used database for that application, also internet connection. Please guide me how to proceed ! Thanks N Advance
:~ Failure is Success If we learn from it!!:~
-
Hi All I need your suggestion for my following questions. Recently i have buillt one standalone desktop software application and my question is , 1. Application should be installed only one pc. 2. Once installed single PC it wont work/install otherPC/same PC next time. 3. We cannot used database for that application, also internet connection. Please guide me how to proceed ! Thanks N Advance
:~ Failure is Success If we learn from it!!:~
-
Hi All I need your suggestion for my following questions. Recently i have buillt one standalone desktop software application and my question is , 1. Application should be installed only one pc. 2. Once installed single PC it wont work/install otherPC/same PC next time. 3. We cannot used database for that application, also internet connection. Please guide me how to proceed ! Thanks N Advance
:~ Failure is Success If we learn from it!!:~
Not a C++ question, and you haven't provided enough information to answer the question without making a lot of assumptions. So, assuming the platform is Windows, and that the PC is not connected to the internet: 1. Make a pre-install application that reports a unique ID for the PC. If you don't fancy rolling your own algorithm (not recommended), consider using the value found in the Registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductId which is probably unique and tied to an installation of Windows (see this StackOverflow discussion). 2. Once the user has run this application and reported the unique number, use it, with a secret key and a suitable hashing algorithm, to generate a unique hash tied to this ID. Deliver this hash to the user (in a letter, or email to other PC, or in a text message, or however you like). 3. In the installer, get the unique ID (by reading the Registry above), apply the hashing algorithm, ask the user for his or her hash, and compare the two. If they correspond, this is the correct PC, if not, abort the installation. 4. After installation is complete, Windows Installer will make a that this application has been installed. You can check this at the start of the installer to make sure it's not re-installed. Basically, if you want to limit an application to be installed on only one PC, you need some way of identifying this single PC. If internet access isn't available, it can't be done during installation, so will need to be done in a two-step process.
-
Hi All I need your suggestion for my following questions. Recently i have buillt one standalone desktop software application and my question is , 1. Application should be installed only one pc. 2. Once installed single PC it wont work/install otherPC/same PC next time. 3. We cannot used database for that application, also internet connection. Please guide me how to proceed ! Thanks N Advance
:~ Failure is Success If we learn from it!!:~
Orjan Westin's suggestion of a unique key is probably the way to go, but you could also consider a hardware "dongle", e.g HASP, KeyLok, SecuTech etc. The key can be shipped to the customer with the product media, or delivered separately when they request a license, and will ensure only one copy of the software is running per key supplied. Some dongle systems allow for upgrading, enabling additional features, and time-limited trial versions as well.
Days spent at sea are not deducted from one's alloted span - Phoenician proverb