Page 1 of 1

"File is not modifiable"

Posted: Sun Nov 20, 2022 4:11 pm
by AndrevanHaren
After running the installer that I made in Actual Installer, the software needs to write information to its database, but I get the error message that the File is not modifiable, meaning probably it's set to read-only. How can I make this read/write able?

Re: "File is not modifiable"

Posted: Mon Nov 21, 2022 6:11 am
by Leo
Where do you install these database files?
There are some system protected folders, e.g. C:\Program Files
To write or modify files in these folders, the app must have administrator privileges.

Please read this:
Recommendation from Microsoft on where to install applications

You can also change the permission for the folder:
How to set Full Control (Read, Modify, Write access) security permissions to folder

Re: "File is not modifiable"

Posted: Mon Nov 21, 2022 8:43 am
by AndrevanHaren
Thanks Leo, I set the installer to run as administrator when running the software, and now it works normally.