Thanks, removed the "both" and added condition on this custom action

<Custom Action='ConfigureUsers' Before='InstallFinalize'>NOT
Installed</Custom>

and now repair runs. Although, with Another problem. I'll post it here...

Now when my repair works it removes my Application pool account from my
Application pool and i can't understand why. Been trying to add conditions
here and there to avoid this....

Here are my web app Components with conditions
<Component Id="CMP_AppPoolAccount"
Guid="43100C44-816A-42B9-BBF3-5DD358742235" KeyPath="yes">
        <Condition></Condition>
        <util:User Id="MyWebAppPoolUser"
                   CreateUser="no"
                   Name="[WEB_APP_POOL_IDENTITY]"
                   Password="[WEB_APP_POOL_IDENTITY_PWD]" FailIfExists="no"
UpdateIfExists="no" />
      </Component>
      <Component Id="MyWebAppPoolCmp"
Guid="86B7F416-FF49-4F53-BBDA-D14DC6CE5E00" KeyPath="yes">
        <Condition></Condition>
        <iis:WebAppPool Id="MyWebAppPool"
                        Name="[WEB_APP_NAME]"
                        Identity="other"
                        User="MyWebAppPoolUser" ManagedRuntimeVersion="v4.0" 
/>
      </Component>





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Conditional-custom-action-install-tp7597184p7597200.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&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