سؤال

I have developed a winform application in Visual Studio 2010. I created a setup project to make the install of the app.

When I install the app and I choose a drive like D:\MyAPP I have no problem and I could ran my app without problems, but when I install the app in c:\program files\MyAPP I have problems because the folder and the files in it doesnt have all permission for all users, so an example is that I cant write in the database file (sqlce).

Is there anything I can do? Is there a configuration on the setup project ? can I give all permission to all users over the folder intallation and its files?

Thanks

هل كانت مفيدة؟

المحلول

"Permissions on c:\Program files" is a Vista/Win7 thing. Here's a good link:

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top