Archive: How to disable close button in the ABORT message box?


How to disable close button in the ABORT message box?
I have created exe file using nsis script.
In the installation steps I have one message box which shows confirmation dialog box if user wants to cancel the installation.

!define MUI_ABORTWARNING "Are you sure want to abort the installation"

It shows yes and no button by default and also working fine.In the above it shows close[x] button.but it does not working.

Now i want to remove that close[x] button? [OR]

Is there any other message box is there to do this work?


MessageBoxes are part of Windows so you cannot do that.

Create your own plugin (C/C++) which will contain your own implementation of message box.