Abstract If you make your *.lzh or *.zip archive of your distribution file with the suitable configuration, your archive will be able to install itself only by drug and drop on the embryo. Caution The extractor of *.lzh and *.zip archive is not implemented on the embryo itself, because there are little merit. The feature of INSTALL/*.* spec depend on the unlha32 or unzip32 freeware extractor. If these files don't exist, you can't use this feature. (It returns failure status codes.) INSTALL/1.0 The "INSTALL/1.0" is specified to make a basic install procedure. The archives defined in INSTALL/1.0 spec are basically simple *.lzh or *.zip archives, but particularly, they includes the "install.txt" files in their root directory. The embryo copies and configures the contents of archive based on the "install.txt."
The "directory" entry is the name of the directory which is made by their file set. If the directory name conflicts with the existing one, it will overwrite them without confirmation. The archived files extract into the individual directory directed by "directory" entry, under system directory directed by "type" entry. And if necessary, the directory for archives is created independently. In occasion of an example shown above, the actual directory which the archive is extracted into is as follows. home\ghost\naru\Therefore, the files in archive are basically placed into the directory tree shown as follows.
+-ghost
+-master
+-....
+-slave0
+-....
+-shell
+-master
+-....
+-80%
+-....
install.txt
INSTALL/1.2 The "INSTALL/1.2" is specified to install the ghost/shell with balloons.
home
+-ghost
+-master
+-shell
+-master
+-clover note
+-descript.txt
+-balloons0.png
+-....
+-..
install.txt
The ghost installed according to "with balloon" spec is start with the balloon which is installed with the ghost at same time, not with the default balloon. INSTALL/1.3 The "INSTALL/1.3" is specified to install additional files or archives to the individual ghost. These archives are especially called "supplement".
The "name" entry is the name of additional object. This value put into the environmental parameter named "%lastobjectname". The "script" entry is the script to play after installation completion. The "supplement" shell archive is extracted under the home directory (designated by "accept" entry) of the ghost that is realizing now. In occasion of an example shown above, the actual directory which the archive is extracted into is as follows. home\ghost\naru\Therefore, the files in archive are actually placed into the same directory tree as the normal ghost package archives. An example of directory tree after installing "supplement" archive is as follows.
+-ghost
+-master
+-....
+-slave0
+-....
+-shell
+-master
+-....
+-80%
+-....
install.txt
The additional supplement file must be one type at each installation, but the updates of the master data, the slave ghost data, or the additional shell data are also available for the supplement data.Following are related environmental parameter with the INSTALL/1.3 spec. %lastghostname %lastobjectname The ghost name which processed the last event request puts into the "%lastghostname" environmental parameter. This parameter uses in case of failure, not uses when the install process is completed successfully. (An example of usage in the "script" entry, "Please give %lastghostname".) In the same way, the object name which processed the last event request puts into the "%lastobjectname" environmental parameter. In this occasion, the value "80%serface" is put into this parameter. |