I am not overly fond of removing user data either. However, the PM has asked for there to be an option (not enabled by default) to allow the user to delete everything if they like. Richard uses a thoughtful example to make the point about the potential futility of trying to know what files will be built.
Which reminds me, I did some testing, and it appears that source code files that get edited or changed to Read-Only are still uninstalled. User data can be lost that way as well it appears. (Or maybe I haven't set the correct property on each file to have it CRC'd before uninstall?) Any thoughts on that dilemma? JVE -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Monday, April 02, 2007 6:45 AM To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Disk costing, directory deleting 1. You are correct. I didn't read the mail that way. 2. Yes, RemoveFile and RemoveFolder could be used. However, I would question the intention to delete everything out of a directory where the user could put data. Personally, I would be a very unhappy developer if I added some other files for the project then uninstalled and found that all my hard work was removed by some uninstaller. User data is a very tricky thing to manage. I follow the rule, "If in doubt, leave the user's stuff alone." As noted on another thread, I'm still looking for a bit smarter way of managing user data. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, April 02, 2007 6:31 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Disk costing, directory deleting In response to Jason Van Eaton's question about deleting all files in a folder on uninstall (including ones that were not initially installed) Rob Mensching responded: Personally, I would do work to describe all of the files to get the confidence that my install costing/install/uninstall/repair/upgrade would all work well. Rob, I suspect you missed the point. The way I read Jason's original message it sounds as if he has no problem doing that with the *source* files. The problem is the files created by whatever tool is used to build the supplied code. While Jason developed the code using Visual Studio, there is no guarantee that someone receiving the code will be using the same version of Visual Studio. They may not even be using it at all and be using (for example) SharpDevelop instead. These different tools may generate intermediate and additional files with different names and I believe it is not sensible to try and handle all of them in the install/uninstall when they are not directly related to the product supplied. Perhaps I'm being stupid here (wouldn't be the first time! :-) ), but what would prevent him from using RemoveFile and/or RemoveFolder? Regards, Richard * C O N F I D E N T I A L I T Y N O T I C E * ----------------------------------------------------------- The content of this e-mail is intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. Peek Traffic Corporation is neither liable for the contents, nor for the proper, complete and timely transmission of (the information contained in) this communication. If you have received this communication in error, please notify the author by replying to this e-mail immediately and delete the material from any computer. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users