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 OS/390, Unix-based systems, and iSeries. DWunzip will unzip the Deployment Wizard .zip file, place the Deployment Wizard files in the appropriate directories, append any necessary file extensions for OS/390, and set file permissions and ownership on the files and directories for non-Windows platforms.
Please 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 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 directories:
/Host On-Demand install directory/lib/samples/DWunzipCommandFiles/
/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:
![]() | OS/390 users: If you do not want DWunzip to add .ascii extensions
to your Deployment Wizard files, you must change the value of the runtime variable ADD_ASCII_EXTENSION to false. |
DWunzip-AIX zipfile
,
where zipfile is the name of the file (without its .zip extension) to be deployed.When DWunzip is running, it will display status messages to the command line showing the files and folders that were extracted, overwritten, or created. It will also display 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.