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
"Retry", "Abort" and "ignore" buttons
11 posts
I think that's possible by modifying the Nsis source code 🙁
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
MessageBox MB_YES|MB_NO|MB_CANCEL|MB_ICONQUESTION "hello!"
That would be very nice.
-Stu
What NSIS has is the standard MessageBox flags. For Yes, No and Cancel use MB_YESNOCANCEL.
Sorry, bad custom example.
Looking back at the documentation, I can no-longer remember what messagebox type does not currently exist.
-Stu 🙂
Looking back at the documentation, I can no-longer remember what messagebox type does not currently exist.
-Stu 🙂
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
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
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).
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).
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
Cyas
Ramon
Although it sounds familiar I can't seem to find it anywhere 🙁
Could you please point me to it?
Could you please point me to it?
Code changes
Here is my changes in source code, let me know if you like it
bye
Ramon
Here is my changes in source code, let me know if you like it
bye
Ramon
Optimized a bit, added a language string in the NLF for it and uploaded to CVS. Thanks!