摘要 |
An installation tool kit apparatus and method that allows developers to create installation programs in which all of the variables and variable values used during a product installation are automatically stored in one or more of a system product registry or database and a fileset object. With one particular embodiment, during installation of a product, the variables and variable values are stored in a hashtable. The hashtable is saved as part of a serialization of a fileset object. Thus, when the fileset is reinstantiated at uninstall time, all of the installation information is contained within the reinstantiated fileset. The fileset object and other objects used by the uninstall program can make use of this information to affect the uninstall behavior. In another embodiment, the variable and variable values are stored in a hashtable that is saved to the system product registry at the end of the installation process. Since this information is stored in the system product registry, other programs and tools may have access to the information. This allows other installation programs to query the registry for the required information and use this information in the installation of other products.
|