View Full Version : XML File changes causes rollback

05-24-2006, 11:20 AM
I have an installer with 2 features.
Each feature has its own web.config that needs to be modified.
On feature 1, the XML File change modifies ithe web.config perfectly.
On feature 2, the XML File change causes a rollback during install.

For the life of me, I cannot determine why. All settings are exactly the same (except install location)

Do any of you have any idea where to look?

here's an excerpt from the MSI log that shows the failure:
1: Performing install of 2 xml components
1: Installing XML Component 'Web.Config'
1: Installing XML file 'C:\Inetpub\wwwroot\feature2\Web.Config'
Action 8:51:59: Progress Custom Action. Updating XML file C:\Inetpub\wwwroot\feature2\Web.Config...
1: MSXML 4 not installed, using MSXML 3...
1: Processing XPath '//'
1: Node name: 'configuration' --> Attribute name = 'xmlns', Current Value = 'http://schemas.microsoft.com/.NetConfiguration/v2.0', Operation = '1'
1: Node name: 'configuration' - Attribute name = 'xmlns', Old Value = 'http://schemas.microsoft.com/.NetConfiguration/v2.0', New value = 'http://schemas.microsoft.com/.NetConfiguration/v2.0', Actual New Value = 'http://schemas.microsoft.com/.NetConfiguration/v2.0'
Action ended 8:51:59: InstallFinalize. Return value 3.

05-25-2006, 08:28 AM
I had the same type of issue until I added the MSxml3 Exception INF Merge Module.

Hopefully that fixes your problem too.

05-25-2006, 10:30 AM
I appreciate the reply; however, this did not solve my problem.
Anyone else have any ideas/suggestions?

05-25-2006, 10:45 AM
Have you seen this thread? Maybe something in there can help

05-25-2006, 12:35 PM
I did see that thread -- It is a very useful thread -- but It doesn't help me solve this problem.

I think the issues revolves around that XPATH \\, but I don't know enough to make sense of it.