Hi I'm using Wix v3.5.1512.0. I've been playing with XmlConfig to modify the root web.config file, but ran into a strange issue today.
I originally had the following in a component: <Component Id="WebConfig" Guid="{4B1930CE-1331-4754-855E-77A5FAFFE18B}" Directory="INSTALLLOCATION"> <CreateFolder/> <util:XmlConfig Id="WEBCONFIG_section" File="[NETFRAMEWORK40FULLINSTALLROOTDIR]config\web.config" Action="create" ElementPath="//configuration/configSections" Name="section" Node="element" On="install" Sequence="1"/> <util:XmlConfig Id="WEBCONFIG_Foo" File="[NETFRAMEWORK40FULLINSTALLROOTDIR]config\web.config" ElementPath="WEBCONFIG_section" Name="name" Value="Foo" Sequence="2"/> <util:XmlConfig Id="WEBCONFIG_Remove" File="[NETFRAMEWORK40FULLINSTALLROOTDIR]config\web.config" Action="delete" ElementPath="/configuration" Name="configSections" Node="element" On="uninstall" VerifyPath="section[...@name='Foo'[\]]" Sequence="1"/> </Component> When I tried to build the project, I received the following error: Error 2 ICE27: Action: 'DuplicateFiles' in InstallExecuteSequence table must come after the 'InstallFiles' action. If I add a bogus <File> element in the component everything compiles and runs just fine. I wanted to verify whether this is a bug or whether it's just something that's not documented. There aren't too many examples floating around for XmlConfig so it's been trial and error getting this to work. Thanks, Jacques ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users