I’ve had issues with some installers that try to elevate the moment you start them, this is most likely because the account that you elevate to does not have access to the share or mapped drive.
This is just an explanation though, I’ve not yet been able to figure out a solution