The two error codes you mentioned do indicate a permission issue. Try running the installer as administrator as outlined in this thread: The Installer has encountered an unexpected error - Getting Started & Setup - Epic Developer Community Forums
If that does not work, we’ll need installer logs to help pinpoint the problem. The troubleshooting guide AndrewHurley posted will describe how to get those logs.