View Full Version : about abortInstallation in 7.1

02-09-2009, 11:04 PM
I want to implement the feature that if the machine is connected to the internet when installing then installation will fail.
So i add the custom action in the install step in the advanced designer panel and code myself custom java class extending com.zerog.ia.api.pub.CustomCodeAction, the problem is that the installanywhere never quit the installation when the Inspectation.isInInternet() is true
public void install(InstallerProxy arg0) throws InstallException {
throw new FatalInstallException("检测到机器连接在互联网上!");
even calling System.exit(0) is the same above case
more help appreciation