thenefield
Posts: 68
Joined: Thu Dec 06, 2007 6:19 pm

Uninstall dialog ...

Hi,

I am needing to present a dialog upon removal, preferably when clicking "Remove" through the control panel, that prompts for the user to provide information.

I saw something similar in a related thread, indicated below, but it is not clear to me how I can create a custom action to present a custom dialog.

http://www.advancedinstaller.com/forums ... &sk=t&sd=a

How can I go about accomplishing this?

Thanks in advance!

Trey
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Uninstall dialog ...

Hi Trey,
it is not clear to me how I can create a custom action to present a custom dialog.
Unfortunately we do not have sample code for this. Basically, you can use VBScript or a C++ DLL to programmatically create a custom dialog and retrieve information from it.

A simpler approach is also explained in the thread you mentioned. By checking the "Disable Remove" option in the "Product Details" page you can make sure that the user can click only on the "Change" button, launching the MSI in maintenance mode. In Advanced Installer you can easily create and configure a custom dialog in the "Maintenance" section of the "Dialogs" page.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”