The error occurs at e.extract(unpackDirectory, ExtractExistingFileAction.OverwriteSilently); line, even when process run first time. The path of unpackDirectory is __\machinename\sharedfolderName\folderName.
The following users has permission on the web content folder (APSNET, IIS_USR and everyone - Full permission). Still I get this error.