MSI supports dialogs in the uninstallation but doesn't require it, but
Add/Remove Programs (whatever it may be called in the different versions of
the OS) calls MSI in a mode that disallows it (when the "Remove" or its
equivalent is selected). You shouldn't use a custom action that produces a
modal dialog to override this behavior or you will stall tools that remove
products in an unattended fashion.

You can make the shell (which owns the Add/Remove Programs applet) not show
the Remove button (but instead allow your dialogs to show UI) by adding the
ARPNOREMOVE property (usually set to 1) to your product (make sure the
ARPNOMODIFY is not set by checking your MSI in Orca). This causes the shell
to show a "Change/Remove"-type button for the "Modify" case. Then you should
be able to author dialogs that allow you to ask the user when they click
your maintenance dialog's "remove" button.

For some reason WixUI_Minimal and WixUI_InstallDir both set ARPNOMODIFY, so
you would need to use one of the other UI flows if you are using the
WiX-supplied sequences.

-----Original Message-----
From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] 
Sent: Monday, September 14, 2009 12:55 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Is there a way to drop databases on uninstall after
confirmation.

Since MSI does not support dialogs in the uninstallation of a product,
you'll have to create a Custom Action for asking the user. 


Best regards,
Sebastian Brand

Deployment consultant
E-Mail: sebast...@instyler.com

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com

-----Original Message-----
From: Anuj Pandey [mailto:a...@vetvision.in] 
Sent: Monday, September 14, 2009 09:35
To: WIX
Subject: [WiX-users] Is there a way to drop databases on uninstall after
confirmation.

Hi

Is there a way to drop databases on uninstall after confirmation.

I have created a setup using wix. and then need to uninstall it. Also need
to drop the db. but sometimes i may not want to. Is there anything i can
follow currently available with wix?

::::::::::::::::::::::::::::::::::
Anuj Pandey
VetVision
www.vetvision.in
::::::::::::::::::::::::::::::::::
----------------------------------------------------------------------------
--
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

Reply via email to