The solution here is pretty simple: make your software free and open source. Transition your business model to paid support tiers, or paid hosted/managed offerings. I have been advocating for the promotion of FOSS software for years, and this model has worked very well for many software businesses. People will always crack and pirate software; not only will be a never-ending cat and mouse for you, but also inhibits the proliferation of truly free-as-in-freedom software.