Nathan
Nathan

Reputation: 237

Updating an application inside Program Files

I have created a VB.net forms application and created an updater for it which downloads a zip file from a website and then extracts it to my applications installation directory. This works fine, except when the app has been installed inside the program files. I get access denied errors when I try to extract. Is there any way to get around this without disabling UAC or requiring users to change any settings on their end?

Thanks in advance for your help.

Upvotes: 0

Views: 55

Answers (1)

Giuseppe
Giuseppe

Reputation: 185

Probably you should force the app to run as administrator.

Check this question: How do I force my .NET application to run as administrator?

Upvotes: 1

Related Questions