com.ibm.di.UpdateInstaller
Class UpdateInstaller
java.lang.Object
com.ibm.di.UpdateInstaller.UpdateInstaller
public class UpdateInstaller
- extends Object
UpdateInstaller is the class that handles applying TDI fixes. It is not
intended that instances of this class be instantiated, but rather that this
class' main function be executed. The UpdateInstaller uses a zip file which
represents a TDI fix along with a TDI installation's .registry file to
install maintenance. The applyUpdates.bat/sh scripts in the product's bin
directory are the accepted ways of running the update installer.
The update installer can be run to update, rollback, show information about a
fix, or to show information about the current TDI installation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateInstaller
public UpdateInstaller()
main
public static void main(String[] args)
- UpdateInstaller main function. The update installer is invoked through
this method.
- Parameters:
args
- Array representing command line arguments to the program.
Usage:
UpdateInstaller -queryreg |
-rollback |
-update fix_file.zip [-clean [-silent]] |
-queryfix fix_file.zip |
-enroll fix_file.zip
getAMCServiceName
public String getAMCServiceName(Registry registry)
- Get the AMC service name
- Parameters:
registry
- Existing registry
- Returns:
- the AMC service name or the empty string if there is none.