I authored an installer using WIX 2.0 and XmlFile to edit a custom
configuration section in a web.config XML config file. On uninstall, none of
the changes are reverted inspite of using statements of the form:
<XmlFile Id="ConfigAddFolder" File="[VROOTDIR]web.config" Action="
createElement" Name="XFolder"
ElementPath="
//configuration/ServicesSettings/IServerSettings/XFolders"
Value="new"
Sequence="1"
Permanent="no"/>
I could write a custom action DLL to delete these entries conditional on
(Installed OR REMOVE=ALL) but that seems to defeat the purpose of using
custom actions in the WIX library. Am I missing something here? Is there an
alternative approach?
Thanks,
Ajay
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users