java - Install4J failure strategy, retry or quit on failure, remove ignore button -


using install4j 6, set failure strategy of particular run script action "ask user whether retry or quit". want.

however, when script runs , failure occurs, message box pops contains button "ignore".

enter image description here

short of implementing own options dialog using util.showoptiondialog(...), how remove ignore button?

this not possible. recommend following:

set "failure strategy" property of action "continue on failure" , call

context.setvariable("retryaction", util.showoptiondialog("your message",     new string[] {"retry", "quit"}, joptionpane.error_message) == 0); 

in case of failure or

context.setvariable("retryaction", false); 

otherwise.

then put action action group. in configuration of action group, select "loop" property , set "loop expression" property

context.getbooleanvariable("retryaction") 

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -