Sounds a lot like this ->
http://sourceforge.net/tracker/index.php?func=detail&aid=3131700&group_i
d=105970&atid=642714

Try using XMLConfig instead as suggested on that bug report & see if it
fixes it for you.

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: sainathas [mailto:sainath.addepa...@gmail.com] 
Sent: 27 June 2011 21:51
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Uninstall fails after upgrade with Error 25532.
Failed to find node:

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-tp6522308p65223
08.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



------------------------------------------------------------------------------
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