This should be posed to the users group not the developers group.

Since the uninstall is non-interactive, the usual mantra would be if the user 
has modified the XML file then you should leave it. From 
http://msdn.microsoft.com/library/windows/desktop/hh749939, 5.4 Your app must 
never block silent install/uninstall.
Uninstalling from Add/Remove programs will always invoke a silent uninstall. 
Adding an uninstall shortcut is generally frowned upon, but more info can be 
found 
http://blogs.technet.com/b/alexshev/archive/2008/02/20/from-msi-to-wix-part-10-shortcuts.aspx
 and 
http://robmensching.com/blog/posts/2007/4/27/How-to-create-an-uninstall-shortcut-and-pass-all-the
 but be aware that even if you provide an uninstall shortcut there is nothing 
preventing the user from using the standard way of removing it.

Jacob

From: Sujitha Ramamoorthy [mailto:sujitha.ramamoor...@aspiresys.com]
Sent: Monday, September 17, 2012 10:13 AM
To: wix-d...@lists.sourceforge.net
Subject: [WiX-devs] Prompt to delete or preserve a file during uninstallation


Hi,

My application stores some contacts in an xml file.

While uninstalling I need to prompt the user to delete or preserve the contacts 
file?

Based on the user input I should delete or preserve the file. How to achieve 
this  using WIX?

Any help appreciated. Thanks in advance.

Thanks,
Sujitha
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to