Uninstallation through control pannel - 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!

Rigesh
Posts: 9
Joined: Thu Dec 22, 2011 9:32 am

Uninstallation through control pannel

When uninstalling the application from Add/Remove Programs in the Control Panel, I am not get displayed dialog boxes that i putted in the Maintenance section. But if I am running the setup of my application after installation again, and selecting remove option, I am getting all the screens. How I will get these screens while uninstalling through the Add/Remove Programs in the Control Panel?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Uninstallation through control pannel

Hi and welcome to Advanced Installer forums,

Here's the user guide article to help you with this functionality.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Rigesh
Posts: 9
Joined: Thu Dec 22, 2011 9:32 am

Re: Uninstallation through control pannel

Hi Mihai,

Thank you very much.

Its working now.

I am facing one more issue, in my project I am using a List box for populating drives(excluding system drive, USB pen drive) by using C++ DLL custom action. I am getting the drive details correctly inside the List box. The List Box selection property set as multiple selection. I need to put a condition in list box, user must select minimum one drive and maximum 4 drive. How can i validate the user selection?

Thanks & Regards
Rigesh E
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Uninstallation through control pannel

Hi Rigesh,

You're welcome, glad you sorted it out.
How can i validate the user selection?
Unfortunately, I'm pretty sure this delicate customization is not supported by the Windows Installer ListBox control.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Rigesh
Posts: 9
Joined: Thu Dec 22, 2011 9:32 am

Re: Uninstallation through control pannel

Hi Mihai,

Thanks for your quick reply.

One more issue now I am facing. As per your first reply (regarding the uninstallation through control panel) I did whole thing, now its calling all my uninstallation dialog. But one problem I noticed now, in one of the uninstallation dialog have a list box, that list box have multiple selection property, but I am not able to get the multiple selection when I am uninstalling the application through control panel. But when I am run the setup.exe again its asking the uninstallation of previously installed one, from there I am getting the multiple selection on the same dialog screen. I had enabled the 'Use Enhanced User Interface' property as "Always" from theme section and rest of the part I did as per this link http://www.advancedinstaller.com/user-g ... utton.html. How can i get the multiple selection from there?

Thanks & Regards,
Rigesh E
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Uninstallation through control pannel

Hi Rigesh,
I had enabled the 'Use Enhanced User Interface' property as "Always"
I'm afraid that this option is ignored when implementing the steps from the above article, mentioned by Mihai, so the package will use the default UI from the OS, without
taking advantage of our enhanced UI capabilities.

However, from what I can see in a small test package the "Change" option is appearing in Control Panel for a package, without the need to create the registry entries as specified in our article. Can you please create a new test project and try it on your machines too? If it works you can copy the settings and revert the changes made based on our article in your main project.

EDIT: To force the user to always see the full UI you can select the option "Disable Remove" from Product Details page. This way the user will always have to select "Change" and then continue as desired, i.e. Remove/Repair/Change.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”