I am not quite sure I fully understand your request here.
Now, when installed in Program Files, the folder has a read-only attribute, which causes a problem with starting the application, since a file with a database is created at startup. Your first tip about adding the permission helps, but ...
FOLLOW US
Get the latest news in Application Packaging