MessageBox problem with Abort, Retry, Ignore

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

MessageBox problem with Abort, Retry, Ignore

Postby PaavoN » Thu Dec 31, 2015 4:04 am

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

Postby bokkie » Thu Dec 31, 2015 6:40 am

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: 27
Joined: Mon Apr 20, 2009 4:45 pm

Re: MessageBox problem with Abort, Retry, Ignore

Postby PaavoN » Tue Jan 05, 2016 10:48 am

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

Postby FrancescoT » Tue Jan 05, 2016 1:03 pm

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 9011 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

Postby damjan » Fri Jan 08, 2016 3:06 am

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

Postby FrancescoT » Mon Jan 11, 2016 11:20 am

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

Postby serzhuk » Wed May 25, 2016 7:04 am

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

Postby FrancescoT » Wed May 25, 2016 12:43 pm

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/library/windows/desktop/ms645505(v=vs.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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 208 guests