You must study security to protect your code. Give it as much thought and attention as you do for your software.
This is not a general statement but from my experience, of the few County and Local Councils I have dealt with, they have no concerns regarding pirating software. They also can often be a source of viruses. You must protect your systems. If you don't then don't be surprised if someone else starts selling your software sometime. Then it is up to you to prove a copyright infringement. It will be far quicker to install the security at the start.
For commercial software:
1. Write the name of your client into a system table. Link it to a complex code so that if it is changed in the slightest, the
program spots that and closes down. On the main first screen show the name as Licensed to.
2. On all reports print the client's name. If they insist on using pre-printed, still print their name somewhere. Maybe vertically in
a small font, or as a watermark. Something they can't just trim off.
3. Do not sell your software, sell a license to use only. Take a look at Microsoft's and other major companies licenses. You know,
the ones you always agree to without reading. They have spent a lot of money on those licenses, all just for their benefit.
4. Give your client T&Cs and copyright. Include a popup in the software with the details. So they can't say I have not had that!
Refer to your T&Cs applying somewhere on your quotations and invoices
5. As suggested in earlier posts see
@isladogs for ideas.
6. Do not allow the client to install your systems. Maybe get a copy of TeamViewer or similar for remote installs.
7. If you use someone elses security and it goes wrong, maybe more difficult to fix. Be sure you can understand it first.
8. One simple install is to use a batch file to copy, rename, etc, whatever you want where you want BUT get a Batch-File-To-EXE program.
That way the client sees only an EXE running with no screen information showing what is going on. Don't give a batch file, easy to read.
9. Even a simple security system is better than nothing. Think about it and I'm sure you can come up with something. Well you'll need to!!