In what regards the copy operation of the XML file, you can have a look on the following articles:
1. File Operations in the Files And Folders Page
2. File Copy/Move Dialog
In what regards the edit operation for the XML file, you can have a look on the following articleS:
3. How to import and edit an XML file
4. Edit XML File Dialog
However, if I am not mistaken, you want the edit operation for the XML file to happen during install time (please correct me if I'm wrong). In this case, the above points (3 and 4) may not apply. However, this can still be achieved through a custom action
. For instance, you can use a "Run Inline PowerShell Script"
or any other script type custom action
(here you can see a full list of our predefined custom actions).
If you want, you can forward me, either here or by e-mail at support at advancedinstaller dot com
the content of your XML file and what you want to be replaced in it and I may be able to help you creating and configuring the custom action.
Hope this helps.