I had not noticed the Permanent attribute in the documentation:

Permanent YesNoType Specifies whether or not the modification should be removed 
on uninstall. This has no effect on uninstall if the action was deleteValue.

I'm not specifying the Permanent attribute in my authoring. I'm assuming the 
default value is 'No'.

I still don't fully understand what Permanent="Yes" means for setValue 
operations.

Looking at the code in at http://wix.codeplex.com suggests that the 
createElement operations are undone during install (unless Permanent="Yes") but 
that's all that should be happening. In my case, I'm seeing the setValue 
operations getting scheduled during install.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail

> -----Original Message-----
> From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com]
> Sent: Friday, June 25, 2010 12:48 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] XmlFile Getting Scheduled During Uninstall
> 
> I'm using WiX 3.0.5419.0.
> 
> I have a couple of installers that fail during uninstall because the
> XmlFile modifications are getting applied at uninstall time (that was
> unexpected) and the file to modify is no longer on the system (I see
> appropriate FileRemove in the log file prior to the failing ExecXmlFile
> in the log).
> 
> Does anybody know under what circumstances SchedXmlFile would schedule
> ExecXmlFile during uninstall?
> 
> Edwin G. Castro
> Software Developer - Staff
> Electronic Banking Services
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com<http://www.fiserv.com/>
> P Please consider the environment before printing this e-mail
> 
> -----------------------------------------------------------------------
> -------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to