1. Windows Installer can remove files based off a property. So you can prompt and set a property appropriately to remove the files or not.
2. I don't think files go into the recycle bin. So you may have to have a CustomAction for that. Too bad, since it means you'll have to think through all the install/uninstall/patching/upgrade/rollback for all that semantics. I've never heard someone say, "Oh, it'll be easier to write a CustomAction than use the built in Windows Installer functionality after shipping a CustomAction." <smile/> -----Original Message----- From: chaiguy1337 [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 10:50 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions) Rob Mensching-2 wrote: > > Can you just use the native MSI functionality to remove the application > data? > No, the path is determined at runtime based on the user's AppData directory (and is theoretically customizable, though I haven't added ui to do that) and moreover I want to either: a) provide the option via a messagebox whether the data should be removed on uninstall, or b) move it to the recycle bin so it can be recollected if the user is performing a manual reinstall Since it is my understanding MSI can do neither of these things (easily), a custom action seems apt. ----- A. Logan Murray http://pihole.org/ -- View this message in context: http://n2.nabble.com/Run-CA-on-uninstall%2C-but-not-when-updating-%28RemovePreviousVersions%29-tp1372539p1372976.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users