AINewUser
Posts: 8
Joined: Fri May 11, 2012 6:33 am

Maintenance Type Selection Dlg

Hi,

Advanced Installer Version : 8.9

We want only "Remove" action on Maintenance Type Selection Dlg. So we removed "Modify" and "Repair" radio buttons and kept "Remove" as selected.

It works fine with exe setup.

If we run .msi then it gives error. I am uploading image showing error as attachment.

Please help us to solve this problem.

Thanks & Regards,
Attachments
Error
Error
error.jpg (9.43 KiB) Viewed 4637 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Maintenance Type Selection Dlg

Hello,

Can you please send us the project file (.AIP) to support at advancedinstaller dot com so we can see your settings?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AINewUser
Posts: 8
Joined: Fri May 11, 2012 6:33 am

Re: Maintenance Type Selection Dlg

Hi Mihai,

I sent project file at support at advancedinstaller dot com.

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

Re: Maintenance Type Selection Dlg

Hi,

The error that you see is given by Windows Installer, it appears because by design the OS does not allow having a radio button group UI control with only one button,
this would be pointless, as the user would be forced to select the same button, therefore it would not be a choice but a hard-coded option. For this is recommended you delete all the radio buttons and the group and just set the property "MaintenanceTypeOption" to the string "Remove" using a "SetProperty" Init Event.

This is the property which is set by the radio button group, setting automatically is identical with the user selecting "Remove".

Another option, which I don't recommend, is to have Enhanced UI set to "Always" from Themes page. This will make the EXE setup to always control the MSI dialogs, which it ignores this type of errors.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AINewUser
Posts: 8
Joined: Fri May 11, 2012 6:33 am

Re: Maintenance Type Selection Dlg

Hi,

Thank you very much for your help.

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

Re: Maintenance Type Selection Dlg

Always a pleasure.

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

Return to “Common Problems”