Hello Folks

Trying to figure out the right entry to delete the node I create during 
installation at uninstall time. Here's what I have:

<Component Id ="XMLUTIILS" Feature="ProductFeature" 
Guid="{CA28E01B-5B69-4795-96C9-7437359D9A02}" Permanent="no">
                <util:XmlConfig Id="webconfig.createnode"
                         File="[PATH]MyService.PrivateService\web.config"
                         Action="create"
                         Name="serviceThrottling"
                         
ElementPath="configuration/system.serviceModel/behaviors/serviceBehaviors/behavior[\[]@name='ServiceKeyService'[\]]"
                         On='install'
                         Node='element'
                         Sequence="1"/>
                <util:XmlFile Id="webconfig.addnode"
                        File="[PATH]MyService.PrivateService\web.config"
                        Action="setValue"
                        Name="maxConcurrentCalls"
                        
ElementPath="configuration/system.serviceModel/behaviors/serviceBehaviors/behavior[\[]@name='ServiceKeyService'[\]]/serviceThrottling"
                        Value="100"
                        Sequence="2"/>
                <util:XmlFile Id="webconfig.addnode1"
                       File="[PATH]MyService.PrivateService\web.config"
                       Action="setValue"
                       Name="maxConcurrentInstances"
                       
ElementPath="configuration/system.serviceModel/behaviors/serviceBehaviors/behavior[\[]@name='ServiceKeyService'[\]]/serviceThrottling"
                       Value="100"
                       Sequence="3"/>
                <util:XmlFile Id="webconfig.addnode2"
                       File="[PATH]MyService.PrivateService\web.config"
                       Action="setValue"
                       Name="maxConcurrentSessions"
                       
ElementPath="configuration/system.serviceModel/behaviors/serviceBehaviors/behavior[\[]@name='ServiceKeyService'[\]]/serviceThrottling"
                       Value="100"
                       Sequence="4"/>
                <util:XmlConfig Id="webconfig.deletenode"
                       File="[PATH].MyService.PrivateService\web.config"
                       
ElementPath="configuration/system.serviceModel/behaviors/serviceBehaviors/behavior[\[]@name='ServiceKeyService'[\]]/serviceThrottling"
                       On="uninstall"
                       Node='element'
                       Action='delete'
                       
VerifyPath="configuration/system.serviceModel/behaviors/serviceBehaviors/behavior[\[]@name='ServiceKeyService'[\]]/serviceThrottling"
                       Sequence="1"/>
                <CreateFolder/>
              </Component>

At end of installation I have:
<behaviors>
      <serviceBehaviors>
        <behavior name=" ServiceKeyService">
               ...
<serviceThrottling maxConcurrentCalls="100" maxConcurrentInstances="100" 
maxConcurrentSessions="100"/>
     </serviceBehaviors>
</behavior>

At end of uninstallation I have:
<behaviors>
      <serviceBehaviors>
        <behavior name=" ServiceKeyService">
               ...
<serviceThrottling/>
     </serviceBehaviors>
</behavior>

How do I properly delete <serviceThrottling/> ?
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to