I'm trying to write some files in my folder which's inside Program Files folder
... I'm getting error "Access denied"
every time I try to write them... I tried to open the .exe (which makes the extraction) in Administrator mode
and change folder rights to "Everyone"/"All Rights" and I still got problem with permissions.
Code:
Using archive As IArchive = ArchiveFactory.Open(PastaDownload & "\" & NomeRAR)
For Each entry In archive.Entries
If Not entry.IsDirectory Then
entry.WriteToFile(PastaSistema, New ExtractionOptions With {.ExtractFullPath = True, .Overwrite = True})
End If
Next
End Using