I’ve created an SCCM package using the .msi for the Unreal Editor Offline version, which works great. However, attempting to create a blank C++ project with Visual Studio 2022 Community installed results with an error about unauthorized access to the whole Engine folder and sub-folders.
Error:
Unhandled exception: UnauthorizedAccessException: Access to the path 'C:\Program Files\Epic Games\5.7\Engine\Intermediate\ProjectFiles' is denied.
I can get around this by accessing the folder’s security properties and giving Users Modify access. A C++ project can then be created.
What is a better fix for this since this is deployed to over 60 computers? Standard users need to be able to create a project without special access.
On all windows versions, writing to any folder in Program Files is for users of privileg access only. You can either write a powershell script that publishes the engine and sets the rights, or you install it do a different path.
“should”? Well, it doesn’t. Also, why is that only the installers job? You know this could be fixed for the cases where the installer doesn’t do it, right?
We’ve run into this issue too. This isn’t just an Unreal-specific problem. If I install UE from the Epic Games Launcher, it configures everything correctly; the issue lies specifically with the offline installer. And no, installing it via EGL is not a solution (doing this manually on 200+ machines is simply not an option).