Skip to content
⌘ NSIS Forum Archive

"Retry", "Abort" and "ignore" buttons

11 posts

ramon18#

"Retry", "Abort" and "ignore" buttons

Hi,

When file is in use and "SetOverwrite On" a MsgBox popups and give the user the chance to "Retry", "Abort" and "ignore", How can I avoid the user to "ignore" some file? Give him only the chance to "retry" "cancel" for example, where cancel aborts the installation.

thanks,
Ramon
Afrow UK#
They realy need to add custom messageboxes, e.g.
MessageBox MB_YES|MB_NO|MB_CANCEL|MB_ICONQUESTION "hello!"

That would be very nice.

-Stu
Afrow UK#
Sorry, bad custom example.

Looking back at the documentation, I can no-longer remember what messagebox type does not currently exist.

-Stu 🙂
ramon18#
Hi,

the built in function MessageBox supports all the flags like API MessageBox and its ok I think, but the problem is with files locked or in use if "SetOverwite on", the messagebox type is hardcoded, maybe some new (feature) command like:

AllowSkipFiles off

is possible kichik?

TIA
Ramon
kichik#
Already in the future request list:



Will be done when I get to it (unless someone else beats me to it and submits a patch which will help me a lot).
ramon18#
kichik I already sent you a PM in sourceforge (as Ramon), I have the source code to do this, and is fine for me

Cyas
Ramon
kichik#
Although it sounds familiar I can't seem to find it anywhere 🙁
Could you please point me to it?
ramon18#
Code changes

Here is my changes in source code, let me know if you like it

bye
Ramon