You can use the MAC-address of the machine to limit the installations. You would need the MAC-address of the machine first, but are then able to limit the installation to only that one machine.
License3J[
^] is a simple library, that offers you a simple mechanism for licensing.
Please check out their example for MAC-address binding of licenses.
For installers I'd prefer
Inno Installer[
^]. It's free too and common used. works fine.