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".

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
Post a Comment