Merging XML files - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Matt
Posts: 109
Joined: Tue Oct 19, 2010 4:54 pm

Merging XML files

Hi,

Is there a way of getting advanced installer to merge XML files? if not have you got any recommendations on how to do this as we need to merge xml files as part of our update process.

Matt
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Merging XML files

Hi Matt,

Our XML editor can update existing XML files. If you cannot figure out how to use it for your scenario, can you please give me more details about what you need to do?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Matt
Posts: 109
Joined: Tue Oct 19, 2010 4:54 pm

Re: Merging XML files

Hi,

Basically when we do an upgrade there is occasionaly little changes to the config/XML files so what we currently do is manualy merge the files but what we would like to do now we are using advanced installer is to automate this. So we would like to compare the existing config files with the ones included in the upgrade and then replicate anychanges from the upgraded config file into the customers current config file. Will we be able to get advanced installer to do this?

We currently manualy do this process so we dont lose or damage the customer specific contents in some of the files such as the Web.config file.

Matt
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Merging XML files

Hello,

You can add an XML update containing the upgrade differences. If you install it in the same location from the Files and Folders page, this update will apply on the existing .XML from the user machine.

For more information, please follow the article my colleague posted earlier.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Matt
Posts: 109
Joined: Tue Oct 19, 2010 4:54 pm

Re: Merging XML files

Hi,

We are looking at using the inbuilt merge files utility I will get back to you if we have any issues thanks for the help

Matt

Return to “Common Problems”