Hi,

I have an application which creates and modifies some keys in web.config
file. During upgrade, I will take a backup of this web.config file and
replace it once upgrade is completed. This backup and replacing of
web.config is handled by custom actions.

But during uninstall after the upgrade, I am getting this error.

Error 25532. Failed to find node: //configuration/appSettings/add[not
(@key)] in XML file: <InstalleDir>\WebSite\\web.config, system error:
-2147020584

I am using util:XmlFile extension to create elements and set values in
web.config file. I am using Wix version 3.5.

Here is that exception from the msi log. Here <InstallDir> refers to the
directory to which my application was installed.



MSI (s) (98:D8) [18:42:03:526]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI5E95.tmp, Entrypoint: ExecXmlFile
MSI (s) (98:68) [18:42:03:526]: Generating random cookie.
MSI (s) (98:68) [18:42:03:526]: Created Custom Action Server with PID 3088
(0xC10).
MSI (s) (98:70) [18:42:03:573]: Running as a service.
MSI (s) (98:70) [18:42:03:573]: Hello, I'm your 32bit Elevated custom action
server.
ExecXmlFile:  Error 0x800710d8: failed to find node:
//configuration/appSettings/add in XML file:
<InstallDir>\WebSite\\web.config
MSI (s) (98!94) [18:42:16:339]: Product:   -- Error 25532. Failed to find
node: //configuration/appSettings/add[not (@key)] in XML file:
<InstallDir>\WebSite\\web.config, system error: -2147020584

MSI (c) (F0:80) [18:42:03:683]: Font created.  Charset: Req=0, Ret=0, Font:
Req=MS Shell Dlg, Ret=MS Shell Dlg

Error 25532. Failed to find node: //configuration/appSettings/add[not
(@key)] in XML file: <InstallDir>\\web.config, system error: -2147020584
CustomAction ExecXmlFile returned actual error code 1603 (note this may not
be 100% accurate if translation happened inside sandbox)


But the removal succeeds if we do install and remove without upgrade.

Can any one suggest me where i went wrong? 

Thanks in Advance...

Sainath A.

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uninstall-fails-after-upgrade-with-Error-25532-Failed-to-find-node-tp6522308p6522308.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to