That is not really an installer. You are talking about merging files or appending to a file. Depending on what you need to do and what type of data is in the file you would either use open for append and a print # statement or open for Binary with a seek and put or you would use open for input and read the existing file up to the point where the new data should go writing the data to a new file then read the rest of the existing file and write to a new file then replce the existing file with the new file.
Again this is not really an installer it is something specific to a game and could vary greatly depending on what that games requires.
btw Do not start more than 1 thread for the same question