CaMat
Posts: 18
Joined: Wed Jun 22, 2022 11:48 am

Skip dialog during uninstallation

Hello,

In my project I am using Surface theme. I want to skip VerifyRemoveDlg, so after the MaintenanceTypeDlg installer should go straight to ProgressDlg in remove mode.
I tried to move all events from Remove button in VerifyRemoveDlg to MaintenanceTypeDlg but after that Installer goes to ProgressDlg with freezed progress bar at the beginning.

My events on button on MaintenanceTypeDlg, which should load ProgressDlg and unistall the product:
Set installer property value: AI_INSTALL_MODE with argument: Remove
Set installer property value: InstallMode with argument: Remove
Uninstall one or more features with argument ALL
Close the current dialog with argument Return

What I am missing?
Catalin
Posts: 7259
Joined: Wed Jun 13, 2018 7:49 am

Re: Skip dialog during uninstallation

Hello,

In order to achieve what you want, you should have the events scheduled as it follows:
Screenshot_49.png
Screenshot_49.png (123.39 KiB) Viewed 11084 times

Hope it helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CaMat
Posts: 18
Joined: Wed Jun 22, 2022 11:48 am

Re: Skip dialog during uninstallation

So, it seems I had to many actions on my button.

Thank you for your help!
Catalin
Posts: 7259
Joined: Wed Jun 13, 2018 7:49 am

Re: Skip dialog during uninstallation

You are always welcome!

Glad I could help.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”