install4j api 中有没有取消操作的方法可以退出安装过程?
Is there any cancel operation method in install4j api using which one can exit the installation process?
我想以编程方式取消安装过程。 install4j api 中是否有任何可用的方法?
从install4j 6.0.4开始,没有这样的方法。以编程方式取消的唯一方法是添加 "Run script" 操作并将 "Script" 属性 设置为
return false;
并将"Failure strategy" 属性设置为"Quit on failure. The action itself can have a "条件表达式”,以便您可以在其他地方确定是否取消。
我想以编程方式取消安装过程。 install4j api 中是否有任何可用的方法?
从install4j 6.0.4开始,没有这样的方法。以编程方式取消的唯一方法是添加 "Run script" 操作并将 "Script" 属性 设置为
return false;
并将"Failure strategy" 属性设置为"Quit on failure. The action itself can have a "条件表达式”,以便您可以在其他地方确定是否取消。