As the others have said, it is not possible to determine the use case you want.
However, what you can do is have the setup program check-in (or call home) to a central installation licensing server, and use details of a pc, to determine if the application has been done on more than one computer.
You would then issue a machine specific licensing key that limits the software to work on one computer. (or however many license have been purchased etc.)
See this article as an example.
Software Copy Protection for .Net Applications - a Tutorial[
^]