After creating an installer with inno setup, it is not possible to insert data into the mdf file

0

I created a C # application with visual studio 2015, in it I can insert, modify and delete users that are stored in a mdf file. I used the "service based data base" item in visual studio and everything works fine.

However, when I generate the executable with inno setup the database becomes read-only, making it impossible to enter new information. I have been researching and found that this is due to the windows security system, once the file is left in the "files and programs" folder. Do you know of any way to circumvent it?

Or how can I generate a specific folder containing the database in another location during the program installation?

    
asked by anonymous 17.08.2018 / 23:09

0 answers