MessageBox problem with Abort, Retry, Ignore

Got a problem you cannot solve? Try here.
Post Reply
PaavoN
Posts: 29
Joined: Mon Apr 20, 2009 4:45 pm

MessageBox problem with Abort, Retry, Ignore

Post by PaavoN »

Seems like MessageBox with Abort, Retry, Ignore does not show correct buttons in IA X3. When I build a project with nothing else but a one messagebox with this option I get a box with only OK-button. With our product's installer one customer got Retry, Cancel and Close-button which seems a bit weird as you don't even have this combination to configure.

Any similar experiences ? Can you Francesco verify this also ?
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: MessageBox problem with Abort, Retry, Ignore

Post by bokkie »

I tried it by creating a blank setup project and adding nothing but variations of the message box statement and in all cases the message box was correctly displayed with the buttons I opted to display. I'm running on Win7. I was wondering if you could copy the MSIcode from your badly behaving project into a totally blank project?

Does that replicate the problem? :?:

I'm using the latest X3 version from the IA download page and I've generated the licence file to go with it.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
PaavoN
Posts: 29
Joined: Mon Apr 20, 2009 4:45 pm

Re: MessageBox problem with Abort, Retry, Ignore

Post by PaavoN »

I also created a blank project with several messageboxes each one having a different option selected.
Seems like I had a misconfig there which caused OK-button to show up. After I corrected the option I got the same
buttons as our customer: Retry, Cancel and Close. Seems that Retry is retry, Cancel is abort and Close is ignore .... Weird ?

I have IA X3 with the very latest version installed and license regenerated and applied. My platform is Windows 10 64bit
and the same thing occurred on a build made and executed on Windows 7 workstation also.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: MessageBox problem with Abort, Retry, Ignore

Post by FrancescoT »

Dear PaavoN,

I just captured a screen-shot of the "MessageBox" and this should be displayed as below.
MessageBox_test.png
MessageBox_test.png (81.8 KiB) Viewed 10680 times
Anyway, I'll check for what concerns the "ignore" label with the dev dept.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
damjan
Posts: 12
Joined: Thu Jul 10, 2014 7:04 am

Re: MessageBox problem with Abort, Retry, Ignore

Post by damjan »

Hi guys

We also noticed this problem. It would be great if we get the Ignore button back.

Regards

Damjan
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: MessageBox problem with Abort, Retry, Ignore

Post by FrancescoT »

Dear Guys,

This is not an issue but it's in this way by design.
InstallAware uses the new style Windows message dialogs on supported platforms (Vista and Higher systems), instead of the legacy MessageBox API.

That said the Abort/Retry/Ignore buttons are redesigned by the system on newer platforms.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
serzhuk
Posts: 1
Joined: Wed May 25, 2016 6:56 am

Re: MessageBox problem with Abort, Retry, Ignore

Post by serzhuk »

Hi everyone!

Nevertheless, Is there any way to customize message boxes to display 'Abort, Retry, Ignore' buttons.
Is the only solution to create a new custom dialog with similar appearance?

Thank you,
Regards
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: MessageBox problem with Abort, Retry, Ignore

Post by FrancescoT »

Dear Serzhuk,

1- You may create a custom dialog that emulates a Message-Box.
2- you may call the old "MessageBox" WINAPI using the the "Call Dll Function" command via script. You may also create a specific custom script at such purpose. https://msdn.microsoft.com/en-us/librar ... s.85).aspx

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply