I had a similar problem. Everything worked fine in the IDE but not when installed. It turned out to be a permissions problem for the folder (I put it in a sub directory of ProgramData). The solution was to grant read, write, execute and list contents priviledges to the folder in the installation package. This was easy in Advanced Installer. I ...