How to make a patch file/update and make the players update before playing

Hi, I was wondering how to make a patch/update file and make the players update before playing so that they don’t get an error or anything, also could I make it so there would be like a Launcher like for Fortnite that would update the game for the players. So that they don’t mess around with the game files.

also looking for an Launcher/Updater solution… wanna put the Patch.pak onto an webserver and the Launcher/Updater should download and install it.