I think that error 0x8007006e means the file could not be opened. My first guess would be that either it's missing or it is not XML.
On Mon, Mar 18, 2013 at 9:29 AM, Sean Farrow <sean.far...@seanfarrow.co.uk>wrote: > Hi all, > > I’m just refactoring and upgrading an installer from v2 to v3.8 of Wix. > We are using an XmlConfig from the util extension to modify a config file > that is being installed with a .net application. > The file is being installed—looking at the directory as the product is > being installed, but I’m getting the message that the installer carn’t open > the file. > I get know filename from the ca but for what it’s worth here’s the log: > MSI (s) (68:8C) [16:12:51:212]: Executing op: > ActionStart(Name=ExecXmlConfig,,) > Action 16:12:51: ExecXmlConfig. > MSI (s) (68:8C) [16:12:51:217]: Executing op: > CustomActionSchedule(Action=ExecXmlConfig,ActionType=3073,Source=BinaryData,Target=ExecXmlConfig,CustomActionData=1€€6€0€/configuration/appSettings€€add€€2€key€misType€value€simsNet€6€0€/configuration/appSettings€€add€€2€key€central.user€value€test€6€0€/configuration/encryptedAppSettings€€add€€2€key€central.password€value€test€6€0€/configuration/appSettings€€add€€2€key€sims.user€value€test€6€0€/configuration/encryptedAppSettings€€add€€2€key€sims.password€value€test€6€0€/configuration/appSettings€€add€€2€key€simsNet.fields.classPupil.lpplus€value€UPN€6€0€/configuration/appSettings€€add€€2€key€simsNet.fields.pupilLeaver.lpplus€value€UPN€6€0€/configuration/appSettings€€add€€2€key€simsNet.fields.parentPupil.lpplus€value€UPN,Forename,Surname,Year,RegistrationGroup€6€0€/configuration/appSettings€€add€€2€key€simsNet.fields.pupilFuture.lpplus€value€UPN) > MSI (s) (68:F4) [16:12:51:279]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSIDECD.tmp, Entrypoint: ExecXmlConfig > MSI (s) (68:58) [16:12:51:279]: Generating random cookie. > MSI (s) (68:58) [16:12:51:283]: Created Custom Action Server with PID 6216 > (0x1848). > MSI (s) (68:F4) [16:12:51:577]: Running as a service. > MSI (s) (68:F4) [16:12:51:580]: Hello, I'm your 32bit Elevated custom > action server. > ExecXmlConfig: Error 0x8007006e: failed to load XML file: > Error 25541. Failed to open XML file , system error: -2147024786 > MSI (s) (68!44) [16:13:42:281]: Product: The Connect Tool -- Error 25541. > Failed to open XML file , system error: -2147024786 > > CustomAction ExecXmlConfig returned actual error code 1603 (note this may > not be 100% accurate if translation happened inside sandbox) > Action ended 16:13:43: InstallFinalize. Return value 3. > MSI (s) (68:8C) [16:13:43:907]: User policy value 'DisableRollback' is 0 > And here’s the component that configures all the xml. > <Fragment> > <PropertyRef Id="MISTYPE"/> > <PropertyRef Id="SALAMANDERACCOUNT"/> > <PropertyRef Id="SALAMANDERPASSWORD"/> > <DirectoryRef Id="INSTALLFOLDER"/> > <Component Id="cmpConfigureSalamanderHostExeFile" > Guid="F8CCB53A-BB0C-498E-B89A-CA47A35DEADB" Directory="INSTALLFOLDER"> > <CreateFolder/> > <util:XmlConfig Id="misTypeAdd" File="[#Salamander.Host.exe.config]" > Action="create" ElementPath="/configuration/appSettings" Name="add" > Node="element" Sequence="1" On="install" /> > <util:XmlConfig Id="misTypeAddKey" > File="[#Salamander.Host.exe.config]" ElementPath="misTypeAdd" Name="key" > Value="misType" Sequence="2" /> > <util:XmlConfig Id="misTypeAddValue" > File="[#Salamander.Host.exe.config]" ElementPath="misTypeAdd" Name="value" > Value="[MISTYPE]" Sequence="3" /> > > <util:XmlConfig Id="centralUserAdd" > File="[#Salamander.Host.exe.config]" Action="create" > ElementPath="/configuration/appSettings" Name="add" Node="element" > Sequence="4" On="install" /> > <util:XmlConfig Id="centralUserAddKey" > File="[#Salamander.Host.exe.config]" ElementPath="centralUserAdd" > Name="key" Value="central.user" Sequence="5" /> > <util:XmlConfig Id="centralUserAddValue" > File="[#Salamander.Host.exe.config]" ElementPath="centralUserAdd" > Name="value" Value="[SALAMANDERACCOUNT]" Sequence="6" /> > > <util:XmlConfig Id="centralPasswordAdd" > File="[#Salamander.Host.exe.config]" Action="create" > ElementPath="/configuration/encryptedAppSettings" Name="add" Node="element" > Sequence="11" On="install" /> > <util:XmlConfig Id="centralPasswordAddKey" > File="[#Salamander.Host.exe.config]" ElementPath="centralPasswordAdd" > Name="key" Value="central.password" Sequence="12" /> > <util:XmlConfig Id="centralPasswordAddValue" > File="[#Salamander.Host.exe.config]" ElementPath="centralPasswordAdd" > Name="value" Value="[SALAMANDERPASSWORD]" Sequence="13" /> > </Component> > </Fragment> > <Fragment> > <?if $(var.MisType) = Sims ?> > <PropertyRef Id="MISTYPE"/> > <PropertyRef Id="SALAMANDERACCOUNT"/> > <PropertyRef Id="SALAMANDERPASSWORD"/> > <DirectoryRef Id="INSTALLFOLDER"/> > <Component Id="SimsConfig" Guid="0b97b537-109e-4116-b536-f027b4324fbe" > Directory="INSTALLFOLDER"> > <CreateFolder/> > <util:XmlConfig Id="SimsUserAdd" > File="[#Salamander.Host.exe.config]" Action="create" > ElementPath="/configuration/appSettings" Name="add" Node="element" > Sequence="21" On="install" /> > <util:XmlConfig Id="SimsUserAddKey" > File="[#Salamander.Host.exe.config]" ElementPath="SimsUserAdd" Name="key" > Value="sims.user" Sequence="22" /> > <util:XmlConfig Id="SimsUserAddValue" > File="[#Salamander.Host.exe.config]" ElementPath="SimsUserAdd" Name="value" > Value="[SIMSACCOUNT]" Sequence="23" /> > > <util:XmlConfig Id="SimsPasswordAdd" > File="[#Salamander.Host.exe.config]" Action="create" > ElementPath="/configuration/encryptedAppSettings" Name="add" Node="element" > Sequence="31" On="install" /> > <util:XmlConfig Id="SimsPasswordAddKey" > File="[#Salamander.Host.exe.config]" ElementPath="SimsPasswordAdd" > Name="key" Value="sims.password" Sequence="32" /> > <util:XmlConfig Id="SimsPasswordAddValue" > File="[#Salamander.Host.exe.config]" ElementPath="SimsPasswordAdd" > Name="value" Value="[SIMSPASSWORD]" Sequence="33" /> > > <util:XmlConfig Id="SimsExtractUPNAdd" > File="[#Salamander.Host.exe.config]" Action="create" > ElementPath="/configuration/appSettings" Name="add" Node="element" > Sequence="34" On="install" /> > <util:XmlConfig Id="SimsExtractUPNAddKey" > File="[#Salamander.Host.exe.config]" ElementPath="SimsExtractUPNAdd" > Name="key" Value="simsNet.fields.classPupil.lpplus" Sequence="35" /> > <util:XmlConfig Id="SimsExtractUPNAddValue" > File="[#Salamander.Host.exe.config]" ElementPath="SimsExtractUPNAdd" > Name="value" Value="UPN" Sequence="36" /> > > <util:XmlConfig Id="SimsExtractLeaversUPNAdd" > File="[#Salamander.Host.exe.config]" Action="create" > ElementPath="/configuration/appSettings" Name="add" Node="element" > Sequence="37" On="install" /> > <util:XmlConfig Id="SimsExtractLeaversUPNAddKey" > File="[#Salamander.Host.exe.config]" ElementPath="SimsExtractLeaversUPNAdd" > Name="key" Value="simsNet.fields.pupilLeaver.lpplus" Sequence="38" /> > <util:XmlConfig Id="SimsExtractLeaversUPNAddValue" > File="[#Salamander.Host.exe.config]" ElementPath="SimsExtractLeaversUPNAdd" > Name="value" Value="UPN" Sequence="39" /> > > <util:XmlConfig Id="SimsExtractParentUPNAdd" > File="[#Salamander.Host.exe.config]" Action="create" > ElementPath="/configuration/appSettings" Name="add" Node="element" > Sequence="40" On="install" /> > <util:XmlConfig Id="SimsExtractParentUPNAddKey" > File="[#Salamander.Host.exe.config]" ElementPath="SimsExtractParentUPNAdd" > Name="key" Value="simsNet.fields.parentPupil.lpplus" Sequence="41" /> > <util:XmlConfig Id="SimsExtractParentUPNAddValue" > File="[#Salamander.Host.exe.config]" ElementPath="SimsExtractParentUPNAdd" > Name="value" Value="UPN,Forename,Surname,Year,RegistrationGroup" > Sequence="42" /> > > <util:XmlConfig Id="SimsExtractFutureUPNAdd" > File="[#Salamander.Host.exe.config]" Action="create" > ElementPath="/configuration/appSettings" Name="add" Node="element" > Sequence="43" On="install" /> > <util:XmlConfig Id="SimsExtractFutureUPNAddKey" > File="[#Salamander.Host.exe.config]" ElementPath="SimsExtractFutureUPNAdd" > Name="key" Value="simsNet.fields.pupilFuture.lpplus" Sequence="44" /> > <util:XmlConfig Id="SimsExtractFutureUPNAddValue" > File="[#Salamander.Host.exe.config]" ElementPath="SimsExtractFutureUPNAdd" > Name="value" Value="UPN" Sequence="45" /> > > <IniFile Id="SimsServerIni" Action="addLine" > Directory="INSTALLFOLDER" Name="connect.ini" Section="SIMSConnection" > Key="ServerName" Value="[SIMSSERVER]"/> > <IniFile Id="SimsDatabaseIni" Action="addLine" > Directory="INSTALLFOLDER" Name="connect.ini" Section="SIMSConnection" > Key="DatabaseName" Value="[SIMSDATABASE]"/> > </Component> > <?endif ?> > </Fragment> > Anyone got any ideas? > Chers > Sean. > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users