You could simply avoid creating duplicate entries by using appropriate
Conditions thus neatly side-stepping the whole, move & replace procedure
which appears to be the root of your problem.

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: 28 June 2011 11:16
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Uninstall fails after upgrade with Error 25532.
Failed to find node:

@WyrdFish,

Thanks for the reply. 

As MSI won't rewrite the unversioned file if it is modified, I have
taken
the following approach as a workaround. During install, my custom action
writes some valus to web.config. During upgrade, installer wouldn't
replace
this web.config file as it is unversioned and modified. And inturn my
custom
action again writes the same values into the web.config file thus
creating
duplicated values in web.config.

To solve this I am moving web.config to separate location and thus
during
upgrade, installer detects that the file is missing and copies that
file.
After that I will replace this new file with the existing one. Thus way
I
can avoid creation of duplicate keys with my custom action during
upgrade.

Do you think this might have caused the issue?

@Pally Sandher

I have tried using XmlConfig but in the following manner. When I am
installing freshly, that package uses XmlFile, but I have replaced that
with
XmlConfig in upgradeable version package and tried upgrading. Still I
got
the same issue during uninstall.

I will try using XmlConfig in both the packages and check if that works.

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-tp6522308p65242
90.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