V
Vanessa
Hi all!
I developed a self updating application (Windows Forms). When there is a new
version, I have to copy it to the directory that it was previously installed.
If the application is installed in another directory outside "\Program
Files", it is working well.
The problem is that if the application is installed in "\Program
Files\Product", where I have an UnauthorizedAccessException when I start
copying the new version (I am using File.Copy()). Is there a way to copy
files to this directory?
Thank you,
Vanessa
I developed a self updating application (Windows Forms). When there is a new
version, I have to copy it to the directory that it was previously installed.
If the application is installed in another directory outside "\Program
Files", it is working well.
The problem is that if the application is installed in "\Program
Files\Product", where I have an UnauthorizedAccessException when I start
copying the new version (I am using File.Copy()). Is there a way to copy
files to this directory?
Thank you,
Vanessa