XML updates - 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!

FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

XML updates

Hi can you advise on the following

I import the web.config for our product, so that I can do the substitution during install, based on entries typed in during install.
This all works fine

however, what happens when the developers add new application entries or assembly references, my imported web.config in advanced installer is now out of date.
If I want to use that new and updated web.config, do I need to reimport and set all the substitutions up again, or is there a way to update the existing "transient" web.config in the advanced installer project so that all my substitutions are kept?

Thanks,
Fergus.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: XML updates

Hi Fergus,

You can add the XML as a regular file. After that you can create another one with the XML editor which contains only the changes. This should have the same name as the original. During install, the regular file is installed first and the edited entries will update whatever is on disk.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

Re: XML updates

sounds good cosmin, thats exactly what i was looking for, i guess I didnt grasp that I would need the original file thing

Return to “Common Problems”