I have the same issue with a Python program written by a colleague. This is a universal issue that has nothing to do with Lazarus. The f*ing defender (and yes, I find this the adequate expression and in no way disrespectful) chooses to delete the program willy nilly, sometimes at download, sometimes after weeks in operation. Not on all machines, though, this looks completely random, which appears to be the infamous "heuristics".