Hi all - I am creating a patch for an existing installer that uses Util:XmlFile elements to modify a web.config file. There was no condition element on the component they are contained in so in the patch version I added a NOT Installed condition. The problem is that the web.config is being modified when the patch is applied even though the XmlFile elements have the Permanent="yes" property set. I see in the log file that ExecXmlFileRollback is being run which I do not want to happen but I do not know how I can prevent this action from being run.
<Util:XmlFile Id="ConnectionString" Name="connectionString" Action="setValue" ElementPath="/configuration/connectionStrings/add[\[]@name='ConnectionString'[\]]" File="[Web]Web.config" Permanent="yes" Value="[DBCONNECTION]" /> MSI (s) (D4:58) [18:28:21:737]: Doing action: SchedXmlFile Action 18:28:21: SchedXmlFile. Action start 18:28:21: SchedXmlFile. MSI (s) (D4:58) [18:28:21:742]: Transforming table CustomAction. MSI (s) (D4:58) [18:28:21:742]: Transforming table CustomAction. MSI (s) (D4:58) [18:28:21:742]: Note: 1: 2262 2: CustomAction 3: -2147287038 MSI (s) (D4:58) [18:28:21:742]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'SchedXmlFile' MSI (s) (D4:58) [18:28:21:743]: Transforming table CustomAction. MSI (s) (D4:58) [18:28:21:743]: Transforming table CustomAction. MSI (s) (D4:58) [18:28:21:743]: Note: 1: 2262 2: CustomAction 3: -2147287038 MSI (s) (D4:58) [18:28:21:743]: Transforming table Binary. MSI (s) (D4:58) [18:28:21:743]: Transforming table Binary. MSI (s) (D4:58) [18:28:21:743]: Note: 1: 2262 2: Binary 3: -2147287038 MSI (s) (D4:E4) [18:28:21:799]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI86B2.tmp, Entrypoint: SchedXmlFile MSI (s) (D4!9C) [18:28:21:832]: Transforming table XmlFile. MSI (s) (D4!9C) [18:28:21:832]: Transforming table XmlFile. MSI (s) (D4!9C) [18:28:21:832]: Note: 1: 2262 2: XmlFile 3: -2147287038 MSI (s) (D4!9C) [18:28:21:886]: PROPERTY CHANGE: Adding ExecXml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mlFileRollback Action 18:28:21: ExecXmlFileRollback. Action start 18:28:21: ExecXmlFileRollback. MSI (s) (D4!9C) [18:28:21:900]: Transforming table CustomAction. MSI (s) (D4!9C) [18:28:21:900]: Transforming table CustomAction. MSI (s) (D4!9C) [18:28:21:900]: Note: 1: 2262 2: CustomAction 3: -2147287038 MSI (s) (D4!9C) [18:28:21:901]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'ExecXmlFileRollback' MSI (s) (D4!9C) [18:28:21:902]: Transforming table CustomAction. MSI (s) (D4!9C) [18:28:21:903]: Transforming table CustomAction. MSI (s) (D4!9C) [18:28:21:903]: Note: 1: 2262 2: CustomAction 3: -2147287038 MSI (s) (D4!9C) [18:28:21:904]: Transforming table Binary. MSI (s) (D4!9C) [18:28:21:905]: Transforming table Binary. MSI (s) (D4!9C) [18:28:21:905]: Note: 1: 2262 2: Binary 3: -2147287038 ExecXmlFileRollback: Action ended 18:28:21: ExecXmlFileRollback. Return value 1. Thanks - Tom ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users