Custom Dialog on Uninstall - 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!

trislo
Posts: 4
Joined: Wed Oct 27, 2010 3:13 pm

Custom Dialog on Uninstall

Hi,

My software is relate secury, then when user whan uninstall I must ask by a user and password to uninstall. I try to do it whith .net custom action but this is not a way because customaction are show on the back.

Is there a way to show custom dialgo on uninstall process??? maintance dialogs aren't show if user uninstall software by control panel.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Custom Dialog on Uninstall

Hello,

You can try to place your custom action after the Begin standard action in InstallExecuteSequence in the Custom Actions page. This should make it run when the package
is uninstalled from Control Panel, at the beginning of the uninstall process.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
trislo
Posts: 4
Joined: Wed Oct 27, 2010 3:13 pm

Re: Custom Dialog on Uninstall

I can run custom action on uninstall process this not a problem. My problem is than I show a custom dialog / form and it is showing to back of uninstall windows. Then user can't view my custom form, and they thing uninstalling fails and freeze.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Custom Dialog on Uninstall

Hello,

This is a standard behavior starting with Win Vista. Any dialog gets minimized and blinks in the taskbar.
You may get some help from the Advanced Installer "Message Box" predefined custom action instead. Its functionality is designed to show up in the foreground.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”