Reputation: 21
I have created a windows application using C# NET VS2010.
In our system there are multiple users, one of user don't have write permission. When we tried to install application for the same user it gave access denied admin permission error.
Is it possible to create deployment package that can install directly in any user/system without asking admin permission?
Upvotes: 1
Views: 1027
Reputation: 380
You can install an application for the currently logged in user only. But for that you need to make sure that the application doesn't need write access to places where only administrators can write. e.g. "Program Files", "Windows", "registry other than user's own hive(**HKEY_CURRENT_USER)" etc.
A user has complete access to his/her own profile folder and can write to it. You can install the application to user's Application Data folder (%userprofile%\AppData). You can use this folder for installation. Install inside the "Local(%userprofile%\AppData)" folder
Upvotes: 1