the application is installed into the Program Files (x86) folder.
I presume that you are NOT storing your database or other user-updateable files in that same Program Files (x86) folder. That would be a problem, and would explain why the application works in development but not installed.