Archive: Installation verification


Installation verification
Hi,
Not sure if this question was already posted here...

Is there a way to prevent the user from not installing the product,
if they have already installed the product on one machine?
What I mean is, say if a user installed the product on machine "ABC",
then copy the setup.exe to an other machine "DEF" and start
installing the same product on that other machine.
How do I prevent the user to not install the product on "DEF"?

One of the ways I thought of resolving the problem is by appending
the SYSTEM_INFO at the end of setup.exe file during the first
install. For subsequent installs, verify the SYSTEM_INFO to see
if the user has moved/copied the binary to other machines, if so
STOP the installation.
But don't know how to implement the above scenerio using NSIS?
Does anyone have a better solution, or can anyone help me with
the NSIS script for implementing the above solutions.

Many thanks.


This won't work, it's still possible to copy the installer to two different machines before running the first install.

Why do you want to restrict the number of installations? I think that it is a bad idea, the user should be able to reinstall the software.

Just make a good license, protections never really work anyway.


You can't write to the installer exe because it is in use too...
The best solution you can have is write something on the server side. A user called snowchyld has done something similar, he might help you better.