1. Spend your time selling another copy to someone else.
2. Offer a monthly retainer contract or a case-by-case basis where they pay a minimum per incident, plus hourly fee if beyond 2 hours onsite. Or offer a discounted remote fix solution where they let you log in remotely, saves you time too.
3. If it is a complicated system, they would rather hire you than get someone else to dive in and wreck their system. Let them know it will cost extra thereafter for you to fix that guy's mistakes, and there is no more warranty if others touch your code.
4. Far more likely that a hardware, purchasing policy or other problem will make them stop using your system than that the system doesn't work or maintenance is expensive. For example I installed two turnkey search servers for a multinational, and serviced for 5 years plus added additional functions a few times. But maintenance done by an employee onsite, in fact I spent a lot of time on extensive manuals. I beat out Altavista and other solutions when I sold my system to them, but they stopped using it due to 1) reseller not supporting, and especially 2) lack of replacement RAID drives from a linux hardware manufacturer that stopped supporting their own system. There is also I think a 3) lack of reseller selling to other clients, so it cost me a lot to invent things for only one client. Even though it worked great.. a gigabyte comprised of 60 databases, searched with mod_perl and htdig in .1 seconds per query.
A superior solution to what they have now too, the missing ingredient is people enthusiastic to support the project either with sales or with hardware replacements. I think there is a lesson here for you too. If you have a good product get a steady list of clients who want to use you, offer additional development training and product updates, and stop thinking about obfuscation. Write some manuals and build a dialogue with the people in the customer organizations. Talk to the engineer using it and make them pay for you to come back and train people, etc.
My guess is an ERP system is complex enough that no sane client will think of bringing someone else in to service it. They will just throw your obfuscated garbage out the window and get a new one. While a client will usually not demand source code, they will be pissed if they have someone who finds out you are obfuscating. I've always offered manuals and full source code and you know what? They respect that and they also keep coming back.

In reply to Re: Hiding source code (in a country with no laws) by mattr
in thread Hiding source code (in a country with no laws) by diego_de_lima

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.