I am working on an application that installs some fonts in user windows font directory. but the problem is when the software tries to install the font, windows deny its access and my software show an error like "access to the path c:\windows\fonts\segoeuisl.ttf is denied" to user.
I try many way in stackoverflow and other websites but still my problem is exist and I don't understand why its not working.
so I'm here to ask you how can I solve this problem.
I'm waiting for any suggestion.
Edit 1:
I also use File.Copy method to install fonts.
Edit 2:
I Don't want to ask user to run my software as admin, because after that, user can't drag & drop any file.
I want to access directly from my software. Now I want to ask you HOW CAN I ACCESS TO DENIED DIRECTORY WITH MY OWN SOFTWARE WITHOUT USING ADMIN RIGHT?!!! Thanks