- I have to find a suitable location to deploy my SDF (database) file.
- The file must be the same to all users
- Windows applications can’t write to the ProgramFiles folder.
- One user can’t access other user’s AppData folder
- A good choice would be
%ProgramData% - In Visual Studio Setup Project File System view, when I right click the output folders I don’t have the
%ProgramData%option
How to write to that folder?
Check this out:
Specifying c:\ProgramData folder in Setup project?
Winforms Deployment
CommonApplicationData is
C:\ProgramDataon Windows > Vista, and something likeC:\Documents and Settings\All Userson XP.