Interrupt uninstall without dialog "Fatal Error" - Advanced Installer Community
dilvish
Posts: 14
Joined: Tue Oct 22, 2013 1:58 pm

Interrupt uninstall without dialog "Fatal Error"

Sometimes I need to interrupt uninstallation.
I am using custom action(execute atachet file) for this.
I create custom action and put in into the uninstallation sequence.
It has such options checked:
Wait for custom action to finish before proceeding
Fail installation if custom action returns an error

When my custom action return error code Uninstallation dropped with error
Image


Is there any way to Abort the uninstallation without showing this error or how I can change text of this error?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Interrupt uninstall without dialog "Fatal Error"

Hi,

In order to achieve what you want you can use the custom action from the how to Abort the Install on message box response thread.

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dilvish
Posts: 14
Joined: Tue Oct 22, 2013 1:58 pm

Re: Interrupt uninstall without dialog "Fatal Error"

It doesn't help me.

Here you can read more details.
This message appear only If I delete application from Control panel on Win Xp machine.
There are no such error if i delete application from running instller.exe file
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Interrupt uninstall without dialog "Fatal Error"

Hi,

I'm afraid that this is the Windows XP OS's default behavior and that error message cannot be suppressed.

However, you can force the installer to also display the "MaintenanceTypeDlg" dialog when you remove it from Control Panel and so, it will behave the same way as running the installer.exe file. To achieve this you can go in the Product Details page and check the "Disable Remove" option.

Let us know if you have any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”