Skip to content

Instantly share code, notes, and snippets.

@irobinson
Created January 26, 2012 20:25
Show Gist options
  • Save irobinson/1684892 to your computer and use it in GitHub Desktop.
Save irobinson/1684892 to your computer and use it in GitHub Desktop.
DotNetNuke Manifest section for installation of Custom Provider
<component type="Config">
<config>
<configFile>web.config</configFile>
<install>
<configuration>
<nodes>
<node path="/configuration/system.web/httpModules" action="update" key="name" collision="overwrite">
<add name="CustomProviderModule" type="DotNetNuke.Providers.CustomProvider.CustomProviderModule, DotNetNuke"/>
</node>
<node path="/configuration/system.webServer/modules" action="update" key="name" collision="overwrite">
<add name="CustomProviderModule" type="DotNetNuke.Providers.CustomProvider.CustomProviderModule, DotNetNuke" preCondition="managedHandler"/>
</node>
</nodes>
</configuration>
</install>
<uninstall>
<configuration>
<nodes>
<node path="/configuration/system.web/httpModules[@name='CustomProviderModule']" action="remove">
<node path="/configuration/system.webServer/modules[@name='CustomProviderModule']" action="remove">
</nodes>
</configuration>
</uninstall>
</config>
</component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment