How to make installer with admin privileges in C#
I have a application which read/writes files on C drive.
I have made couple of installers
Without admin privileges
when it tries to access the file in program files the application dies (as
it doesn't have required read write privileges to access file in C drive)
I have created another installer by adding a manifest for admin
privileges. It works fine but asks the user every time to start
application as administrator. I found this thing quite annoying.
Is there any way so that my application can read write the files on C
drive without asking every time for users permission to run as admin?
No comments:
Post a Comment