Access (.MDB) deployment issue - Windows 7 - Installation with admin user?
I use microsoft access (.mdb) database for my business software. Recently I have noticed a lot of feedback from users saying that they are unable to open the software after installation. Basically, I store database in user\appdata\local\myfolder path. Considering the scenario of these users on a windows 7 machine if user tries to install the software (without admin rights) then he has to enter user and password of admin which makes the Inno setup install the database in admin user's local folder instead of logged in user's local data folder. So after installation, my software cannot locate the database as it is stored in admin user's local data and not the local data folder of logged in user. I use Environment.SpecialFolder.LocalApplicationData to find localappdata folder for current user in c#. I don't think there is any other folder where I can store database with read/write permission. Program files folder would not be suitable. What could be the best solution for this? Thank you in advance.
I distribute Access databases in a similar way, the best place for it is: C:\User\Username User's should have write properties on their own folder's, if for any reason they do not then the permissions settings should be revised. So rather than having one copy on the C: drive, there is a copy saved for each individual user. Even better if user's have a personal shared space which can be accessed from any machine they log on to mapped as a network drive.
MS Access 2003 - Opening a report without it printing
Create a field name from a recordset
How run an Access 2007 module in VB6?
MS Access 2003 - Auto assigning an Identification Number
Ms access: Autocomplete field with values from another table
MS-Access: hotkey to display a message box
.mdb - Access - database appending # on image file
MS-Access 2007 - 255 character limit for exports and field concatenation
Avoiding MaxLocksPerFile via odbc connection to MS Access
Access MDB: do access MDB files have an upper size limit?
Problem evaluating NULL in an IIF statement (Access)
WM_SETFOCUS Event not fired Microsoft Access 2000
Access VBA sub with form as parameter doesn't alter the form
Where can I find MSAccess Control in Database
MS Access 2003 - Really simple query
Query to add missing rows using values from prior period