Wednesday 15 June 2011

java - Install4j - how to set default value for "Can be executed multiple times" attribute? -



java - Install4j - how to set default value for "Can be executed multiple times" attribute? -

i'm trying write custom action utilize within install4j. i've studied documentation on extending install4j. in light, i'm extending abstractinstalloruninstallaction , have added proper bean info extending actionbeaninfo. have been going until decided polish things little , set of default attributes of custom action default action elevation type.

i noticed these properties not inherited action , have utilize proper setters within bean info matter, e.g., setdefaultactionelevationtype(actionelevationtype.elevate, true).

i can find of these attributes using provided setters except can executed multiple times internally referred multiexec install4j.

does know workaround set using action's bean info or action itself?

in install4j 5.x not possible. in install4j 6.0 method com.install4j.api.beaninfo.actionbeaninfo#setdefaultmultiexec added.

java install4j

No comments:

Post a Comment