Not sure why this would be needed, but try adding <UI><DialogRef Id="MaintenanceWelcomeDlg/></UI> to your product.
It is possible to add a shortcut for uninstallation where you get setup the UI and other characteristics of the uninstallation exactly how you want, but it has to work first, so let's concentrate on that first. It is incompatible with Windows Logo to create that shortcut, but nothing technical prevents you from creating it. -----Original Message----- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 10:39 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair! I checked, there is this line in WixUI_InstallDir.wxs: <Property Id="ARPNOMODIFY" Value="1" /> So I removed this line. And added these two lines in my main wxs: <Property Id ="ARPNOREMOVE" Value="1" /> <Property Id ="ARPNOREPAIR" Value ="1" /> I Built it and installed it. After that, I double clicked the msi again, I see the "Repair" and "Remove" buttons are grayed out, the "Change" button is clickable. I clicked the 'Change' button, but there is nothing happening. What should I do the make "Change" button work? Also, is there other ways to trigger uninstallation process by not double clicking the original msi file? For our end users, I guess no one would do the uninstallation by clicking the msi file. The reason for that is, they may just download the file to a temp download folder or so, install it, and then forget about the msi file location. If now we tell them to "double click the original msi to uninstall it", it'll be not that practical. Ideally, uninstalling the application by clicking the shortcut in [Start]->[All Programs] system menu. Is it possible? Thanks. ________________________________ From: Blair <os...@live.com> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Monday, August 31, 2009 7:50:10 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall If "Change" is grayed out you will not get the installer UI you are looking for. Is ARPNOMODIFY set perchance? After you install, what do you see if you double-click the MSI again? You should get the "Change" experience, which is your starting point to show a modal dialog during your uninstall experience. -----Original Message----- From: little.forest [mailto:little.for...@ymail.com] Sent: Monday, August 31, 2009 5:28 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall By the way, I added this: <Property Id ="ARPNOREMOVE" Value="1" /> Then I run the msi again, and I saw the "Change" and "Remove" buttons were grey out. There was only the "Repair" button available. Is this correct? Also, if I run uninstallation from [start]->[All Programs], I didn't even see this UI. I only saw the basic uninstallation progress bar. Thanks. ________________________________ From: little.forest <little.for...@ymail.com> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Monday, August 31, 2009 5:07:42 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall I kept searching for the answer about this issue. But I couldn't find any example to make it work. Can you Wix experts point me out? What else I need to do to show UI in uninstallation, namely, "enable maintenance mode"? And further how to add a radio button etc. to enable "remove user data option" during uninstallation? (Uninstallation: I mean, the end user clicks the uninstall shortcut from [start]=>[All Programs]. I don't mean the end user re-run the msi again, or through ARP, or through command line - because normally all of our end users don't run uninstallation these ways.) ________________________________ From: little.forest <little.for...@ymail.com> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Monday, August 31, 2009 4:19:01 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hi Aris, Thanks! I added this in code, then the "Remove" button is gone in ARP: <Property Id ="ARPNOREMOVE" Value="1" /> But the uninstallation is still the simple progress bar. Could you please tell me how to "enable maintenance mode"? Thanks. ________________________________ From: Aris J. Green <gree...@cox.net> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Thursday, August 27, 2009 10:20:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall 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 __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ ---------------------------------------------------------------------------- -- 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 __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. ---------------------------------------------------------------------------- -- 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 __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ ---------------------------------------------------------------------------- -- 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 __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ ---------------------------------------------------------------------------- -- 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