Disable uninstall from Add/Remove Programs, enable maintenance mode, which will show a GUI during uninstall. Then allow user to uninstall from maintenance, typically through a radio button selection that sets REMOVE=ALL. The you can prompt the user for what you need (e.g. a SQL password to drop a database, etc.)
Set up the silent uninstall to proceed from the command line silently if you want this feature by passing in the proper parameters from the command line (e.g. "SAPWD=<BASE64 Encrypted Value> SERVER=<MACHINEZ_SOMEWHERE>"). But you won't be able to run this from ARP although. Regards, greenaj On Wed, 2009-08-26 at 09:18 +0200, Sebastian Brand (Instyler Software) wrote: > Hello, > > Windows Installer executes uninstall in Silent mode (no UI) mode only. To > show a dialog, you'll have to create a custom action to show a dialog, then > schedule that during uninstall. > > > Best regards, > Sebastian Brand > > Instyler Setup - Creating WiX-based MSI installations, elegantly. > http://www.instyler.com > > > -----Original Message----- > From: little.forest [mailto:little.for...@ymail.com] > Sent: Wednesday, August 26, 2009 09:04 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] How to add a dialog box when uninstall > > Hi, > > We're using WiX 3.0. How to add a dialog box when uninstall? > > We'd like to ask the end user if they want to delete their settings files in > AppData\Company\Product folder. If the answer is Yes, then we'll need to > delete that folder. And we only want this dialog box showing up when > manually uninstall by either click the uninstall shortcut or from ARP in > control panel. We do NOT want this dialog showing up when the user doing a > major upgrade(installing a higher version, the old version is uninstalled). > > Thanks. > /Brian > > > __________________________________________________________________ > Be smarter than spam. See how smart SpamGuard is at giving junk email the > boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to > New Mail today or register for free at http://mail.yahoo.ca > ---------------------------------------------------------------------------- > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users