Hello Team,
I am trying to edit web.config file based on search. There is this WebDAV publishing module which if is already enabled in IIS ,it messes up with PUT and DELETE requests. So i created a search in AI where search is "Registery value exists" and value = HKLM\SOFTWARE\Microsoft\InetStp\Components\WebDAV. so now during first installation or update the search returns that Value exists I want insert the following elements inside the <system.webServer> here </system.webServer>
<modules runAllManagedModulesForAllRequests="false">
<remove name="WedbDAVModule" />
</modules>
I tried to edit web.config file , AI wont read it xml but opens it in note pad.
how do I execute that "search" and edit that web.config file if that registery value is found?
Thank you very much for your help......