How do I create an Unreal Engine Installer?

I want to create a custom version of the Unreal Engine installer, incorporating my own code changes to the engine, and distribute this to other licensees. How can this be done?

I am reposting this question because the user “wittlief” closed it as a “duplicate” of a different question, which it is not.

NOTE: THIS IS NOT A DUPLICATE OF THE QUESTION OF HOW TO CREATE AN INSTALLER FOR A GAME.

THIS QUESTION ASKS: HOW DO I CREATE AN INSTALLER OF THE ENGINE, FOR DEVELOPERS?