The first thing to check is where you installed the DB file: if it's under the same folder as your EXE file, then in release versions it'll always be read only because Program Files and all subdirectories are protected for security and to prevent viruses.
See here:
Where Should I Store My Data?[
^] for some better places.