uninstall Application Problem - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kumarkiranc
Posts: 85
Joined: Tue Sep 18, 2007 6:49 am

uninstall Application Problem

hi,

While removing the application iam asking the user he want to backup and drop the database or not.

After installing the application. Once again if run the setup file it is showing the maintenance dialog. There user can chose the he want to drop the database or not.

Now the problem is when i unistall from the add and remove programs. It is unistalling directly.

How i can ask the user while uninstalling from the add and remove programs also.

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

Hi,

When you uninstall an application from the Add/Remove Programs, the uninstallation process is limited to basic user interface (the InstallUISequence is not executed), therefore you cannot add or modify the dialogs used.

You could create a custom action scheduled under "InstallExecuteSequence" -> "Uninstall" folder. This custom action will create a custom dialog which will ask the user if he wants to backup and drop the database. Please note that you could simply use a VBScript that calls the MsgBox function:
http://msdn2.microsoft.com/en-us/library/sfw6660x.aspx

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

Return to “Common Problems”