raghu.00a@gmail.com
Posts: 27
Joined: Tue May 10, 2016 11:18 am

How to read web.config from Files and Folders while installing

Fri Jul 29, 2016 12:54 pm

Hi,

I want to access an element in web.config file from the custom action while installing the application to IIS.
and I want to replace the part of web.config file that is created by installer in IIS with the web.config read by custom action at the end of installation.

Please advise.

Regards
Raghu

Bogdan
Posts: 2791
Joined: Tue Jul 07, 2009 7:34 am
Contact:  Website

Re: How to read web.config from Files and Folders while installing

Sat Jul 30, 2016 8:24 pm

Hi Raghu,

Why do you need a custom action? You can read an XML fileusing our built-in support.

You can also update the contents of an XML file, using the XML Updates feature.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”