Page 1 of 1

MessageBox problem with Abort, Retry, Ignore

Posted: Thu Dec 31, 2015 4:04 am
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 ?

Re: MessageBox problem with Abort, Retry, Ignore

Posted: Thu Dec 31, 2015 6:40 am
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.

Re: MessageBox problem with Abort, Retry, Ignore

Posted: Tue Jan 05, 2016 10:48 am
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.

Re: MessageBox problem with Abort, Retry, Ignore

Posted: Tue Jan 05, 2016 1:03 pm
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 9010 times

Anyway, I'll check for what concerns the "ignore" label with the dev dept.

Regards

Re: MessageBox problem with Abort, Retry, Ignore

Posted: Fri Jan 08, 2016 3:06 am
by damjan
Hi guys

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

Regards

Damjan

Re: MessageBox problem with Abort, Retry, Ignore

Posted: Mon Jan 11, 2016 11:20 am
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

Re: MessageBox problem with Abort, Retry, Ignore

Posted: Wed May 25, 2016 7:04 am
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

Re: MessageBox problem with Abort, Retry, Ignore

Posted: Wed May 25, 2016 12:43 pm
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/library/windows/desktop/ms645505(v=vs.85).aspx

Hope this helps you.

Regards