Web pages from the Deployment Wizard can be distributed to servers in a more automated process using the DWunzip tool. This tool is installed on all platforms supported by Host On-Demand, including z/OS, Unix-based systems, and iSeries. DWunzip unzips the Deployment Wizard .zip file, places the Deployment Wizard files in the appropriate directories, appends any necessary file extensions for z/OS, and sets file permissions and ownership on the files and directories for non-Windows platforms.
Be aware of the difference between the two following types of directories:
<Host On-Demand install directory>\HOD
You can choose either type of directory as the destination for the files in the Deployment Wizard .zip file for DWunzip.
Copy or transfer in binary the Deployment Wizard .zip file to the directory where you want to unzip it, update the DWunzip command to point to that directory, and launch the command.
DWunzip is located in the following directory:
/Host On-Demand install directory/lib/samples/DWunzip/
DWunzip is a command-line program that requires one parameter: the name of the .zip file to be extracted. The .zip filename does not need a path or .zip extension associated with it; otherwise, an error message and usage statement will result. Other information, known as runtime variables (such as the location of the JRE or of the Host On-Demand publish directory on the server), resides in the command file. Change the default values of the runtime variables if they do not correspond with your environment.
To run DWunzip, follow these steps:
DWunzip-AIX zipfile
,
where zipfile is the name of the file (without its .zip extension) to be deployed.When DWunzip is running, it displays status messages to the command line showing the files and folders that were extracted, overwritten, or created. It also displays a message when the command is complete. If you have run this tool once and are running it again on the same .zip file, you will be asked whether you would like to overwrite the files. If you do, the files will be overwritten. If you do not, the tool will close and nothing will be overwritten.