如何通过java程序监控安装过程?
我需要帮助通过 java 代码跟踪安装过程。 我们的安装程序是使用 InstallAnywhere 开发的。 当用户单击取消按钮时,安装程序将退出,但不会像安装之前一样使系统处于清理状态。 因此,请帮助我跟踪用户的“取消”按钮,以便我们可以执行一些操作,使系统处于清理状态。
请建议我解决这个问题可以采取的方法。 提前致谢
I need help on keeping track of the Installation process through java code. Our installers are developed by using the InstallAnywhere. When the user clicks cancel button the Installer quits but does not leave the system in a cleaned state as before the installation. So kindly help me in tracking of the 'Cancel' button by the user so that we can perform some opertaions which will leave the system in a cleaned state.
Kindly suggest me the approaches that i can take to resolve this problem.
thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要弄清楚如何在 InstallAnywhere 框架中执行此操作。 如果我记得的话,它提供了很多通过插件 Java 类执行操作的钩子,尤其是企业版。 该文档非常广泛,应该为您提供一些有关如何继续操作的线索。
如果该方法不起作用,并且您无法从 InstallAnywhere 支持渠道、论坛等获得任何帮助,请考虑切换到开源 java 安装程序。
You'll need to figure out how to do this within the InstallAnywhere framework. If I recall, it provides a lot of hooks for doing things via plugin Java classes, especially with the Enterprise edition. The documentation is pretty extensive, and should give you some clues about how to proceed.
If that approach doesn't work, and you cannot get any help from the InstallAnywhere support channels, forums, etc, consider switching to an Open Source java installer.
InstallAnyWhere 必须有相关文档。
InstallAnyWhere must have documentation about it.