0

I want to install my app or (just access db)to AppData folder to enable write for it. so, how can I do that in setup project. Is there just parameter or should I wirte custom action. Thx.

kyndigs
  • 3,074
  • 1
  • 18
  • 22
Dani AM
  • 67
  • 1
  • 2
  • 11

1 Answers1

1

Thx Guys, here you can find a beauti answer:

I solved it this way. I kept the database file (.sdf) in the same folder as where the application is installed (Application Folder). On the security tab in the properties window for the main project, i checked the "Enable ClickOnce Security Settings" and selected "This is a full trust application", rebuilt and ran the setup. After that no security problem I am using Visual Studio 2008 and Windows Vista

in this link: VS2008 Setup Project: Shared (By All Users) Application Data Files?

Community
  • 1
  • 1
Dani AM
  • 67
  • 1
  • 2
  • 11