简体   繁体   English

如何通过java程序监视安装过程?

[英]How to monitor the installation process through java program?

I need help on keeping track of the Installation process through java code. 我需要有关通过Java代码跟踪安装过程的帮助。 Our installers are developed by using the InstallAnywhere. 我们的安装程序是使用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 提前致谢

You'll need to figure out how to do this within the InstallAnywhere framework. 您需要弄清楚如何在InstallAnywhere框架内执行此操作。 If I recall, it provides a lot of hooks for doing things via plugin Java classes, especially with the Enterprise edition. 如果我还记得的话,它为通过插件Java类(尤其是企业版)来做事提供了很多便利。 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支持渠道,论坛等获得任何帮助,请考虑切换到Open Source Java安装程序。

InstallAnyWhere必须具有有关它的文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM