Modifying Windows Registry with game install

I want to hook up my game to be able to receive Web URI’s in order to launch. As far as I’ve been able to find, this requires making a modification to the Windows Registry, to add keys for “/shell/open/command” and hook that to my executable.

I have this working locally, but the script requires that it be run with Admin authority (for good reason, it’s modifying the registry); launching through EGS doesn’t grant that authority. Is it possible, through the EGS publishing pipeline, to create keys in the user’s Windows Registry?

I’ve found a different strategy that works:

I wrote a small “shim” program in C# that checks if the registry entries are there as needed, and if not, launches a new iteration of the shim program with Admin permissions (Windows confirms this with the user). That admin iteration of the shim updates the registry as needed, and then I continue on with my normal application launch for the game.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.