Class UpdateInstaller


  • public class UpdateInstaller
    extends java.lang.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.
    • Constructor Summary

      Constructors 
      Constructor Description
      UpdateInstaller()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAMCServiceName​(Registry registry)
      Get the AMC service name
      static void main​(java.lang.String[] args)
      UpdateInstaller main function.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UpdateInstaller

        public UpdateInstaller()
    • Method Detail

      • main

        public static void main​(java.lang.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 java.lang.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.